Generate image with wavespeed-ai/flux-kontext-dev-lora-ultra-fast
Generates an image using the wavespeed-ai/flux-kontext-dev-lora-ultra-fast model.
API key is required to authorize requests. Obtain a key from your AtlasCloud dashboard.
In: header
model name
The same seed and the same prompt given to the same version of the model will output the same image every time.
-1
The size of the generated image.
The image to generate an image from.
List of LoRAs to apply (max 3)
[]
items <= 3
The prompt to generate an image from.
The number of images to generate.
1
1 <= value <= 4
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.
2.5
0 <= value <= 20
The number of inference steps to perform.
28
1 <= value <= 50
If enabled, the output will be encoded into a BASE64 string instead of a URL.
false
If set to true, the safety checker will be enabled.
true
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-lora-ultra-fast", "prompt": "A restored and colorized vintage black-and-white photograph, removing scratches, dust, and tears. The image features enhanced clarity, natural skin tones, and realistic colors while preserving the original nostalgic atmosphere. The photo looks vivid and fresh, with balanced lighting and rich detail, as if carefully brought back to life from the past." }'
{
"id": "string",
"logs": "string",
"urls": {
"cancel": "http://example.com",
"result": "http://example.com"
},
"input": {
"model": "wavespeed-ai/flux-kontext-dev-lora-ultra-fast",
"seed": -1,
"size": "string",
"image": "https://static.atlascloud.ai/media/images/1750946150521827253_czYURNKG.jpg",
"loras": [],
"prompt": "A restored and colorized vintage black-and-white photograph, removing scratches, dust, and tears. The image features enhanced clarity, natural skin tones, and realistic colors while preserving the original nostalgic atmosphere. The photo looks vivid and fresh, with balanced lighting and rich detail, as if carefully brought back to life from the past.",
"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
]
}