More modelsWavespeed aiFlux dev lora

Generate image with wavespeed-ai/flux-dev-lora

Generates an image using the wavespeed-ai/flux-dev-lora model.

POST
/api/v1/model/generateImage
AuthorizationBearer <token>

API key is required to authorize requests. Obtain a key from your AtlasCloud dashboard.

In: header

modelstring

model name

seed?integer

Random seed (-1 for random)

Default-1
size?string

Output image size

image?string
loras?array<LoraWeight>

List of LoRAs to apply (max 5)

Default[{"path":"strangerzonehf/Flux-Super-Realism-LoRA","scale":1}]
Itemsitems <= 5
promptstring

Input prompt for image generation

strength?number

Strength indicates extent to transform the reference image

Default0.8
Range0 <= value <= 1
mask_image?The mask image

The 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.

num_images?integer

Number of images to generate

Default1
Range1 <= value <= 4
guidance_scale?number

Guidance scale for generation

Default3.5
Range0 <= value <= 20

Response Body

curl -X POST "https://api.atlascloud.ai/api/v1/model/generateImage" \  -H "Content-Type: application/json" \  -d '{    "model": "wavespeed-ai/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": "wavespeed-ai/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": 3.5
  },
  "model": "black-forest-labs/flux-dev",
  "output": [
    "https://replicate.delivery/..."
  ],
  "status": "processing",
  "created_at": "2025-03-21T11:36:30.151Z",
  "has_nsfw_contents": [
    false
  ]
}