More modelsWavespeed aiFlux kontext pro
Generate image with wavespeed-ai/flux-kontext-pro
Generates an image using the wavespeed-ai/flux-kontext-pro model.
AuthorizationBearer <token>
API key is required to authorize requests. Obtain a key from your AtlasCloud dashboard.
In: header
modelstring
model name
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.
Default
3.5
Range
1 <= 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-pro", "image": "https://static.atlascloud.ai/media/images/1750499863413941379_I6hX6gpy.jpg", "prompt": "A man eating noddles" }'
{
"id": "7hm7nbwarxrm80cnq1yvmxz4m4",
"logs": "...",
"urls": {
"cancel": "http://example.com",
"result": "http://example.com"
},
"input": {
"model": "wavespeed-ai/flux-kontext-pro",
"image": "https://static.atlascloud.ai/media/images/1750499863413941379_I6hX6gpy.jpg",
"prompt": "A man eating noddles",
"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
]
}