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
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| prompt | string | required | — | Text description of the image to generate |
| negative_prompt | string | optional | — | Concepts to avoid in the image |
| width | int | optional | 1024 | Image width in pixels (rounded to a multiple of 32) |
| height | int | optional | 1024 | Image height in pixels (rounded to a multiple of 32) |
| num_steps | int | optional | 20 | Number of denoising steps (more = higher quality, slower) |
| guidance | float | optional | 1 | Guidance scale — how closely to follow the prompt |
| seed | int | optional | — | 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