More modelsWavespeed aiFlux kontext max text to image
Generate image with wavespeed-ai/flux-kontext-max/text-to-image
Generates an image using the wavespeed-ai/flux-kontext-max/text-to-image model.
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.
promptPrompt
The prompt to generate an image from.
num_images?Num Images
The number of images to generate.
Default
1
Range
1 <= value <= 4
aspect_ratio?Aspect Ratio
The aspect ratio of the generated image.
Value in
"21:9" | "16:9" | "4:3" | "3:2" | "1:1" | "2:3" | "3:4" | "9:16" | "9:21"
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-max/text-to-image", "prompt": "A bustling cyberpunk cityscape at night, with neon lights reflecting off skyscrapers, flying cars zipping through the air, and holographic advertisements illuminating the streets. The scene is filled with diverse futuristic architecture, blending sleek metal and glass with glowing neon elements. The atmosphere is vibrant and chaotic, with a slight haze adding depth to the scene" }'
{
"id": "7hm7nbwarxrm80cnq1yvmxz4m4",
"logs": "...",
"urls": {
"cancel": "http://example.com",
"result": "http://example.com"
},
"input": {
"model": "wavespeed-ai/flux-kontext-max/text-to-image",
"seed": 0,
"prompt": "A bustling cyberpunk cityscape at night, with neon lights reflecting off skyscrapers, flying cars zipping through the air, and holographic advertisements illuminating the streets. The scene is filled with diverse futuristic architecture, blending sleek metal and glass with glowing neon elements. The atmosphere is vibrant and chaotic, with a slight haze adding depth to the scene",
"num_images": 1,
"aspect_ratio": "1:1",
"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
]
}