Docsra2 art generator (edit)
Image

ra2 art generator (edit)

ra2 art generator style transfer and edit. Send a source image plus a prompt to restyle or refine it. Same engine and price as ra2.

$0.04 per edit (same engine and price as ra2)

Parameters

ParameterTypeRequiredDefaultDescription
promptstringrequired—How to restyle or refine the source image
image_base64stringrequired—Source image as raw base64 (no data: prefix)
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-edit",
    "prompt": "turn this into a watercolor illustration, soft pastel palette",
    "image_base64": "iVBORw0KGgoAAAANSUhEUg..."
  }'

Example Response

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

Playground

Connect your wallet to try the playground.

Connect Wallet