Generate image with black-forest-labs/flux-krea-dev-lora
Generates an image using the black-forest-labs/flux-krea-dev-lora model.
API key is required to authorize requests. Obtain a key from your AtlasCloud dashboard.
In: header
The random seed to use for the generation. -1 means a random seed will be used.
-1The size of the generated media in pixels (width*height).
model name
List of LoRAs to apply (max 3).
items <= 3Input prompt for image generation.
Strength indicates extent to transform the reference image.
0.80 <= value <= 1The format of the output image.
"jpeg" | "png" | "webp"The guidance scale to use for the generation.
3.50 <= value <= 20If 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.
falseIf enabled, the output will be encoded into a BASE64 string instead of a URL. This property is only available through the API.
falseResponse Body
curl -X POST "https://api.atlascloud.ai/api/v1/model/generateImage" \ -H "Content-Type: application/json" \ -d '{ "model": "black-forest-labs/flux-krea-dev-lora", "prompt": "string" }'{
"id": "string",
"urls": {},
"model": "string",
"status": "string",
"outputs": [
"string"
],
"created_at": "2019-08-24T14:15:22Z",
"has_nsfw_contents": [
true
]
}