Docsra2 art generator
Image

ra2 art generator

ra2 art generator — cinematic and illustration-specialised text-to-image at 1024x1024. Higher quality than Z-Image Turbo, roughly 2x slower per image. The default image service.

$0.04 per generation (mirrors the Z-Image rate)

Parameters

ParameterTypeRequiredDefaultDescription
promptstringrequired—Text description of the image to generate
negative_promptstringoptional—Concepts to avoid in the image
widthintoptional1024Image width in pixels (rounded to a multiple of 32)
heightintoptional1024Image height in pixels (rounded to a multiple of 32)
num_stepsintoptional20Number of denoising steps (more = higher quality, slower)
guidancefloatoptional1Guidance scale — how closely to follow the prompt
seedintoptional—Random seed for reproducible results (0 = random)

Example Request

curl -X POST https://cutedsl.cc/api/service \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "service": "ra2",
    "prompt": "cinematic portrait of a fox knight, volumetric light, 35mm film",
    "width": 1024,
    "height": 1024,
    "num_steps": 20,
    "guidance": 1.0
  }'

Example Response

{
  "result": {
    "image_base64": "<base64-encoded WebP image>",
    "width": 1024,
    "height": 1024,
    "format": "webp",
    "engine": "ra2",
    "seed": 12345,
    "inference_time_ms": 2100,
    "model": "ra2"
  },
  "credits_used": 1000,
  "credits_remain": 49000,
  "usd_equivalent": 0.04
}

Playground

Connect your wallet to try the playground.

Connect Wallet