Generate image with black-forest-labs/flux-dev-lora
Generates an image using the black-forest-labs/flux-dev-lora model.
API key is required to authorize requests. Obtain a key from your Atlas Cloud dashboard.
In: header
model name
Random seed (-1 for random)
-1Output image size
List of LoRAs to apply (max 5)
[{"path":"strangerzonehf/Flux-Super-Realism-LoRA","scale":1}]items <= 5Input prompt for image generation
Strength indicates extent to transform the reference image
0.80 <= value <= 1The mask image tells the model where to generate new pixels (white) and where to preserve the original image (black). It acts as a stencil or guide for targeted image editing.
Number of images to generate
11 <= value <= 4Flux embedded guidance strength. Higher values make the image follow the prompt more closely. This is not True CFG and does not require a negative prompt. Default 2.5.
2.50 <= value <= 20True classifier-free guidance. Keep at 1.0 (off) for normal use. Set it above 1.0 to enable negative prompting; a non-empty negative_prompt requires cfg_scale > 1, otherwise the request is rejected. On its own (with an empty negative_prompt) it has no effect on the result. Default 1.0.
10 <= value <= 20What to steer the image away from. Only takes effect when cfg_scale > 1; setting a non-empty negative_prompt while cfg_scale <= 1 is rejected with HTTP 400.
The number of inference steps to perform.
281 <= value <= 50Response Body
curl -X POST "https://api.atlascloud.ai/api/v1/model/generateImage" \ -H "Content-Type: application/json" \ -d '{ "model": "black-forest-labs/flux-dev-lora", "prompt": "Super Realism, Woman in a red jacket, snowy, in the style of hyper-realistic portraiture, caninecore, mountainous vistas, timeless beauty, palewave, iconic, distinctive noses --ar 72:101 --stylize 750 --v 6" }'{
"id": "7hm7nbwarxrm80cnq1yvmxz4m4",
"logs": "...",
"urls": {
"cancel": "http://example.com",
"result": "http://example.com"
},
"input": {
"model": "black-forest-labs/flux-dev-lora",
"seed": -1,
"size": "1024*1024",
"image": "string",
"loras": [
{
"path": "strangerzonehf/Flux-Super-Realism-LoRA",
"scale": 1
}
],
"prompt": "Super Realism, Woman in a red jacket, snowy, in the style of hyper-realistic portraiture, caninecore, mountainous vistas, timeless beauty, palewave, iconic, distinctive noses --ar 72:101 --stylize 750 --v 6",
"strength": 0.8,
"mask_image": "string",
"num_images": 1,
"guidance_scale": 2.5,
"cfg_scale": 1,
"negative_prompt": "string",
"num_inference_steps": 28
},
"model": "black-forest-labs/flux-dev",
"output": [
"https://replicate.delivery/..."
],
"status": "processing",
"created_at": "2025-03-21T11:36:30.151Z",
"has_nsfw_contents": [
false
]
}