More modelsWavespeed aiStep1x edit

Generate image with wavespeed-ai/step1x-edit

Generates an image using the wavespeed-ai/step1x-edit model.

POST
/api/v1/model/generateImage
AuthorizationBearer <token>

API key is required to authorize requests. Obtain a key from your AtlasCloud dashboard.

In: header

modelstring

model name

seed?integer

The random seed to use for the generation.

imagestring

The image URL to generate an image from. Needs to match the dimensions of the mask.

promptstring

The prompt to generate an image from.

guidance_scale?number

The guidance scale to use for the generation.

Default4
Range0 <= value <= 20
negative_prompt?string

The negative prompt to use. Use it to address details that you don't want in the image. This could be colors, objects, scenery and even the small details (e.g. moustache, blurry, low resolution).

num_inference_steps?integer

The number of inference steps to perform.

Default30
Range1 <= value <= 50
enable_safety_checker?boolean

If set to true, the safety checker will be enabled.

Defaulttrue

Response Body

curl -X POST "https://api.atlascloud.ai/api/v1/model/generateImage" \  -H "Content-Type: application/json" \  -d '{    "model": "wavespeed-ai/step1x-edit",    "image": "https://static.atlascloud.ai/media/images/1748334637981075510_pdqmjea7.jpeg",    "prompt": "change outfit"  }'
{
  "id": "string",
  "urls": {},
  "model": "string",
  "status": "string",
  "outputs": [
    "string"
  ],
  "created_at": "2019-08-24T14:15:22Z",
  "has_nsfw_contents": [
    true
  ]
}