More modelsWavespeed aiFlux dev ultra fast

Generate image with wavespeed-ai/flux-dev-ultra-fast

Generates an image using the wavespeed-ai/flux-dev-ultra-fast 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?Seed

The same seed and the same prompt given to the same version of the model will output the same image every time.

Default-1
size?Image Size

The size of the generated image.

image?Image

The image to generate an image from.

promptPrompt

The prompt to generate an image from.

strength?Strength

Strength indicates extent to transform the reference image

Default0.8
Range0 <= value <= 1
mask_image?Mask Image URL

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?Num Images

The number of images to generate.

Default1
Range1 <= value <= 4
guidance_scale?Guidance scale (CFG)

The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you.

Default3.5
Range0 <= value <= 20
num_inference_steps?Num Inference Steps

The number of inference steps to perform.

Default28
Range1 <= value <= 50
enable_base64_output?Enable Output base64

If set to true, the output base64 will be enabled.

Defaultfalse
enable_safety_checker?Enable Safety Checker

If set to true, the safety checker will be enabled.

Defaulttrue

Response Body

curl -X POST "https://api.atlascloud.ai/api/v1/model/generateImage" \  -H "Content-Type: application/json" \  -d '{    "model": "wavespeed-ai/flux-dev-ultra-fast",    "prompt": "A young, attractive Indian couple standing side by side at their traditional wedding ceremony, both facing the camera with warm smiles. The bride wears a red and gold lehenga with intricate embroidery, heavy jewelry, and a maang tikka; the groom in an ivory sherwani with a red stole and turban. Background: lavish wedding decor with marigold flowers and fairy lights. Rich colors, sharp focus, photorealistic, cinematic lighting, full-body portrait, authentic Indian wedding atmosphere."  }'
{
  "id": "7hm7nbwarxrm80cnq1yvmxz4m4",
  "logs": "...",
  "urls": {
    "cancel": "http://example.com",
    "result": "http://example.com"
  },
  "input": {
    "model": "wavespeed-ai/flux-dev-ultra-fast",
    "seed": -1,
    "size": "1024*1024",
    "image": "string",
    "prompt": "A young, attractive Indian couple standing side by side at their traditional wedding ceremony, both facing the camera with warm smiles. The bride wears a red and gold lehenga with intricate embroidery, heavy jewelry, and a maang tikka; the groom in an ivory sherwani with a red stole and turban. Background: lavish wedding decor with marigold flowers and fairy lights. Rich colors, sharp focus, photorealistic, cinematic lighting, full-body portrait, authentic Indian wedding atmosphere.",
    "strength": 0.8,
    "mask_image": "string",
    "num_images": 1,
    "guidance_scale": 3.5,
    "num_inference_steps": 28,
    "enable_base64_output": false,
    "enable_safety_checker": true
  },
  "model": "black-forest-labs/flux-dev",
  "output": [
    "https://replicate.delivery/..."
  ],
  "status": "processing",
  "created_at": "2025-03-21T11:36:30.151Z",
  "has_nsfw_contents": [
    false
  ]
}