More modelsWavespeed aiFlux kontext max

Generate image with wavespeed-ai/flux-kontext-max

Generates an image using the wavespeed-ai/flux-kontext-max 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.

imageImage

The image to generate an image from.

promptPrompt

The prompt to generate an image from.

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.

Default3.5
Range1 <= value <= 10
safety_tolerance?string

The safety tolerance level for the generated image. 1 being the most strict and 5 being the most permissive.

Value in"1" | "2" | "3" | "4" | "5"

Response Body

curl -X POST "https://api.atlascloud.ai/api/v1/model/generateImage" \  -H "Content-Type: application/json" \  -d '{    "model": "wavespeed-ai/flux-kontext-max",    "image": "https://static.atlascloud.ai/media/images/1750499863413941379_I6hX6gpy.jpg",    "prompt": "To ghibli style"  }'
{
  "id": "7hm7nbwarxrm80cnq1yvmxz4m4",
  "logs": "...",
  "urls": {
    "cancel": "http://example.com",
    "result": "http://example.com"
  },
  "input": {
    "model": "wavespeed-ai/flux-kontext-max",
    "seed": 0,
    "image": "https://static.atlascloud.ai/media/images/1750499863413941379_I6hX6gpy.jpg",
    "prompt": "To ghibli style",
    "guidance_scale": 3.5,
    "safety_tolerance": "2"
  },
  "model": "black-forest-labs/flux-dev",
  "output": [
    "https://replicate.delivery/..."
  ],
  "status": "processing",
  "created_at": "2025-03-21T11:36:30.151Z",
  "has_nsfw_contents": [
    false
  ]
}