More modelsWavespeed aiFlux kontext dev ultra fast

Generate image with wavespeed-ai/flux-kontext-dev-ultra-fast

Generates an image using the wavespeed-ai/flux-kontext-dev-ultra-fast 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?Seed

The same seed and the same prompt given to the same version of the model will output the same image every time.

Default-1
size?Image Size

The size of the generated image.

image?Image

The image to generate an image from.

promptPrompt

The prompt to generate an image from.

num_images?Num Images

The number of images to generate.

Default1
Range1 <= value <= 4
guidance_scale?Guidance scale (CFG)

The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you.

Default2.5
Range0 <= value <= 20
num_inference_steps?Num Inference Steps

The number of inference steps to perform.

Default28
Range1 <= value <= 50
enable_base64_output?Enable Output base64

If enabled, the output will be encoded into a BASE64 string instead of a URL.

Defaultfalse
enable_safety_checker?Enable Safety Checker

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/flux-kontext-dev-ultra-fast",    "prompt": "Replace \'KONTEXT\' on the juice pouch, keeping the same bubbly font style,gradient colors, soft shadow, and exact position."  }'
{
  "id": "string",
  "logs": "string",
  "urls": {
    "cancel": "http://example.com",
    "result": "http://example.com"
  },
  "input": {
    "model": "wavespeed-ai/flux-kontext-dev-ultra-fast",
    "seed": -1,
    "size": "string",
    "image": "https://static.atlascloud.ai/media/images/1750941148466319080_zQWSOLIE.jpg",
    "prompt": "Replace 'KONTEXT' on the juice pouch, keeping the same bubbly font style,gradient colors, soft shadow, and exact position.",
    "num_images": 1,
    "guidance_scale": 2.5,
    "num_inference_steps": 28,
    "enable_base64_output": false,
    "enable_safety_checker": true
  },
  "model": "string",
  "output": [
    "http://example.com"
  ],
  "status": "queued",
  "created_at": "2019-08-24T14:15:22Z",
  "has_nsfw_contents": [
    true
  ]
}