# Z-Anime

`ZAnimeDistill_8Step_INT8` · Tongyi-MAI · Image Generation & Editing

INT8 quantized. Resolution 128–2048 px (16 px steps). 4–16 inference steps. Default: 768x768, 8 steps. Tuned with Z-Image Base for anime-style images. Recognizes several iconic characters from well-known anime.

[Model page](https://runstage.dev/models/z-anime) · [JSON](https://runstage.dev/models/z-anime.json) · [Catalog](https://runstage.dev/pricing) · [Playground](https://runstage.dev/playground?model=ZAnimeDistill_8Step_INT8)

## Technical summary

- **Exact API model slug**: `ZAnimeDistill_8Step_INT8`
- **Developer**: Tongyi-MAI
- **Inference types**: `txt2img`
- **Infrastructure**: Direct GPU Fleet
- **Headline rate**: Live quote via /api/v2/quote (Resolution × steps)
- **Free quote endpoint**: `POST https://runstage.dev/api/v2/quote`

## Runstage routes

- **Text to Image** (`txt2img`): `POST /api/v2/quote` · `POST /api/v2/run` · `GET /api/v2/jobs/{request_id}` · `GET /api/v2/jobs/{request_id}/output` · `MCP runstage_generate_media`

## Best for

- Run Z-Anime via unified v2 jobs with free pre-run /price quotes
- Drop-in compatible with the OpenAI SDK via the OpenAI-compatible gateway
- Low-latency pay-as-you-go inference on direct GPU capacity

## Billing notes

Distilled 8-step anime/illustration generator.

## Quickstart (cURL)

```bash
# 1. Free pre-run retail quote
curl -X POST 'https://runstage.dev/api/v2/quote' \
  -H "Content-Type: application/json" \
  -d '{"model":"ZAnimeDistill_8Step_INT8","width":1024,"height":1024,"steps":4}'

# 2. Submit metered job
curl -X POST 'https://runstage.dev/api/v2/run' \
  -H "Authorization: Bearer $RUNSTAGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{   "model": "ZAnimeDistill_8Step_INT8",   "prompt": "A colossal serpent kaiju of living forest rising from a devastated jungle valley, its enormous body and rearing coils woven entirely from braided vines, dark green scales, twisted roots, and clusters of living trees growing across its hide, with small bonsai-like canopies sprouting from its back and shoulders. Its serpentine head looms in the upper portion of the frame, mouth slightly open to reveal pale fangs, a single piercing red eye glowing with quiet menace, leaf-shaped crests framing its skull like a feathered crown. Around it, towering plumes of cream and pale gold dust clouds billow upward from the ruined ground, broken trees and gnarled debris scatter the dark earth in the foreground, and silhouetted bats and birds wheel through a luminous pale-green sky. Dramatic low-angle composition, deep moss-green, ivory color palette, soft volumetric light filtering through the haze, cinematic kaiju scale, wallpaper quality, highly detailed environment, professional anime illustration",   "width": 1024,   "height": 1024,   "steps": 4,   "seed": 42 }'

# 3. Poll owner-scoped job result until status is "done" or "failed"
curl -H "Authorization: Bearer $RUNSTAGE_API_KEY" \
  'https://runstage.dev/api/v2/jobs/<request_id>'
```
