Generate image with wavespeed-ai/flux-controlnet-union-pro-2.0
Generates an image using the wavespeed-ai/flux-controlnet-union-pro-2.0 model.
API key is required to authorize requests. Obtain a key from your AtlasCloud dashboard.
In: header
model name
The random seed to use for the generation.
0
The size of the generated media in pixels (width*height).
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 URL of the control image for ControlNet guidance.
The format of the output image.
"jpeg" | "png" | "webp"
The guidance scale to use for the generation.
3.5
0 <= value <= 20
If set to true, the function will wait for the image to be generated and uploaded before returning the response. It allows you to get the image directly in the response. This property is only available through the API.
false
The number of inference steps to perform.
28
1 <= value <= 50
The fraction of total steps at which ControlNet guidance ends.
0.8
0 <= value <= 1
If enabled, the output will be encoded into a BASE64 string instead of a URL. This property is only available through the API.
false
If set to true, the safety checker will be enabled.
true
The fraction of total steps at which ControlNet guidance start.
0
0 <= value <= 1
The conditioning scale for ControlNet. Higher values make the output follow the control image more closely.
0.7
0 <= value <= 2
Response Body
curl -X POST "https://api.atlascloud.ai/api/v1/model/generateImage" \ -H "Content-Type: application/json" \ -d '{ "model": "wavespeed-ai/flux-controlnet-union-pro-2.0", "prompt": "A robot is giving a speech." }'
{
"id": "string",
"urls": {},
"model": "string",
"status": "string",
"outputs": [
"string"
],
"created_at": "2019-08-24T14:15:22Z",
"has_nsfw_contents": [
true
]
}