More modelsWavespeed aiFlux 1.1 pro
Generate image with wavespeed-ai/flux-1.1-pro
Generates an image using the wavespeed-ai/flux-1.1-pro model.
AuthorizationBearer <token>
API key is required to authorize requests. Obtain a key from your AtlasCloud dashboard.
In: header
seed?integer
The random seed to use for the generation.
modelstring
model name
promptstring
The prompt to generate an image from.
aspect_ratio?string
Value in
"1:1" | "16:9" | "9:16" | "4:3" | "3:4"
output_format?string
The format of the output image.
Value in
"jpg" | "png"
enable_base64_output?boolean
If enabled, the output will be encoded into a BASE64 string instead of a URL. This property is only available through the API.
Default
false
Response Body
curl -X POST "https://api.atlascloud.ai/api/v1/model/generateImage" \ -H "Content-Type: application/json" \ -d '{ "model": "wavespeed-ai/flux-1.1-pro", "prompt": "A grand steampunk airship soaring through the sky, with intricate brass and copper details, large propellers spinning, and a massive balloon filled with hot air. The airship is adorned with Victorian-style architecture, featuring ornate railings and decorative elements. The sky is a brilliant blue with fluffy white clouds, and the airship casts a shadow on the landscape below. The scene conveys a sense of adventure and exploration" }'
{
"id": "string",
"urls": {},
"model": "string",
"status": "string",
"outputs": [
"string"
],
"created_at": "2019-08-24T14:15:22Z",
"has_nsfw_contents": [
true
]
}