Image to Image Generation API

Stable Diffusion v1.5 powered scalable API

Access scalable, affordable and highly available REST API to enable on-demand image to image generation using Stable Diffusion v1.5 AI Model.

Using this API you can generate high fidelity, photo-realistic images that look similar to an image provided by you with guidance driven by your input text prompts.

Image to Image Generation Monster API can be accessed via this workflow:

  1. Send request API: Use this API to send a request for image generation

  2. Fetch status API: Use this API to fetch status of your image generation request

# Example CURL Request for sending an image to image generation request 

curl \
--H 'x-api-key: YOUR KEY' \
--H 'Content-Type: application/json' \
--X POST '' \
--raw-data  {
  "model": "img2img",
  "data": {
            "prompt": "@sample prompt",
            "negprompt": "@sample negprompt",
            "init_image_url": "@sample-image.jpg"
# Example CURL Request for getting status of your request

curl --location '' \
--header 'x-api-key: 123' \
--header 'Authorization: Bearer 456' \
--data '{
    "process_id" :  "6699be46-aad0-11ed-a45e-b161ab1b7fd3"

These 2 API calls are enough to generate an image and to get its image URL.

Monster API offers a lot of parameters to customise your requests according to your use-case for example:

🔥 Use an initial image URL to generate similar images.

🔥 Specify a seed to control the generation.

🔥 Specify image strength for resemblance control.

For an overview, visit our Image to Image Generation API information page.

Last updated