# KusArt API

> KusArt is a REST API for anime-style image and video generation (illustrations, characters, posters, image editing, image-to-video). Pick a model from the table below, create one asynchronous task, then poll it until it finishes.

Notes for coding agents:

- Base URL: `https://api.kusa.pics/api/go/b2b`. Every endpoint is `POST`.
- Authentication: header `X-API-Key: <key>`. Read the key from the `KUSART_API_KEY` environment variable on the server side. Never print it, put it in browser code, or ask the user to paste it into chat.
- Always send your own `User-Agent` header (for example `my-app/1.0 (+https://example.com)`). Default library user agents such as Python-urllib are rejected with HTTP 403.
- `task_type` and version values must be copied exactly from the table below. Unknown names fail with code 41001 "Unsupported task type" and the server does not list valid names.
- Each model's reference file (last column) has the full parameter table, a ready-to-send request and its price table. Read it before building the request.
- Creating a task spends credits. Create it once and poll; see "Credits and spending".
- Kusa-Anima and Kusa-XL work best with English prompts; other languages are translated automatically. Escape parentheses in character names; see "Prompt language".

## Choose a model

Put the version params inside `params`. Starting price is the lowest listed tier; size, quality, duration, count and reference inputs change the total.

| Model | task_type | Version params (put in params) | Output | Best for | Inputs | Starting price | Content / prompt | Full reference |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Kusa-Anima | `ANIMA_TEXT_TO_IMAGE` | — | image | Anime illustration, 303 art styles, and your own trained character LoRAs. Tags: Editor's pick, 303 styles, Great value | Text | 10 credits / image | English prompts recommended (others auto-translated); several characters: see multi-character guide ("Multiple characters" in its reference file) | https://kusart.com/api-for-business/models/kusa-anima/llms.txt |
| Kusa-XL | `TEXT_TO_IMAGE` | — | image | Classic anime illustration, 159 art styles, and image-to-image. Tags: 159 styles, Classic anime, Great value, Fast generation | Text / reference images | 10 credits / image | English prompts recommended (others auto-translated) | https://kusart.com/api-for-business/models/kusa-xl/llms.txt |
| Niji Journey v7 | `TEXT_TO_IMAGE_NIJI` | — | image | High-aesthetic anime illustrations. Four images per run, with style references. Tags: Top-tier aesthetics, 4 images per run, Style reference | Text / style reference | 100 credits / request (4 images) | SFW only | https://kusart.com/api-for-business/models/kusa-niji/llms.txt |
| Kusa-Mix | `TEXT_TO_IMAGE_KUSA_MIX` | `model_version: "seedream-4.5"` | image | All-purpose image generation & editing model. Balances cost and clarity, with output up to 4K. Tags: Consistent characters, Multi-image reference, Up to 4K | Text / reference images | 45 credits / image | — | https://kusart.com/api-for-business/models/kusa-mix/standard/llms.txt |
| Kusa-Mix-Flash | `TEXT_TO_IMAGE_KUSA_MIX` | `model_version: "seedream-5-flash"` | image | All-purpose image generation & editing model. For quick drafts and iterative edits, balancing efficiency and cost. Tags: Consistent characters, Multi-image reference, Up to 2K | Text / reference images | 60 credits / image | — | https://kusart.com/api-for-business/models/kusa-mix/flash/llms.txt |
| Kusa-Mix-Pro | `TEXT_TO_IMAGE_KUSA_MIX` | `model_version: "seedream-5-pro"` | image | All-purpose image generation & editing model. Focuses on fine detail and polished results for precise creative work. Tags: Consistent characters, Most reliable quality, Up to 2K | Text / reference images | 120 credits / image | — | https://kusart.com/api-for-business/models/kusa-mix/pro/llms.txt |
| GPT Image 2 | `API_TEXT_TO_IMAGE_GPT_IMAGE_2` | `model: "gpt-image-2"` | image | Clear lettering for posters, layouts, and UI artwork. Image generation and editing, priced by size and quality tier. Tags: Complex layouts, Clear text in images, Great value | Text / reference images | 8 credits / image | SFW only | https://kusart.com/api-for-business/models/kusa-canvas/2/llms.txt |
| GPT Image 2.5 | `API_TEXT_TO_IMAGE_GPT_IMAGE_2` | `model: "gpt-image-2.5-flare"` | image | Clear lettering for posters, layouts, and UI artwork. Flare / Sunburst variants for image generation and editing, with quality tiers. Tags: Complex layouts, Clear text in images, Image editing | Text / reference images | 15 credits / image | SFW only | https://kusart.com/api-for-business/models/kusa-canvas/2.5/llms.txt |
| Kusa-Easy | `TEXT_TO_IMAGE_EASY` | — | image | Blend art styles by weight, with a hand-painted feel and natural-language prompts. Tags: Style blending, Plain-language prompts | Text | 20 credits / image | — | https://kusart.com/api-for-business/models/kusa-easy/llms.txt |
| Kusa-Krea2 | `KREA2_TEXT_TO_IMAGE` | — | image | Soft, painterly illustration from natural-language descriptions. Tags: Editor's pick, Plain-language prompts, Painterly look, Great value | Text | 15 credits / image | — | https://kusart.com/api-for-business/models/kusa-krea2/llms.txt |
| Nano Banana | `API_TEXT_TO_IMAGE` | `model: "nano"` | image | For fast image generation, editing, and character merchandise style transformations. Base tier for image generation and editing. Tags: Image editing, Multi-image reference, Great value | Text / reference images | 40 credits / image | SFW only | https://kusart.com/api-for-business/models/kusa-flash/standard/llms.txt |
| Nano Banana 2 | `API_TEXT_TO_IMAGE` | `model: "nano2"` | image | For fast image generation, editing, and character merchandise style transformations. Version 2 for image generation and editing. Tags: Image editing, Multi-image reference, Upgraded quality | Text / reference images | 80 credits / image | SFW only | https://kusart.com/api-for-business/models/kusa-flash/2/llms.txt |
| Nano Banana Pro | `API_TEXT_TO_IMAGE` | `model: "pro"` | image | For fast image generation, editing, and character merchandise style transformations. Pro tier for image generation and editing. Tags: Image editing, Clear text in images, Most reliable quality | Text / reference images | 160 credits / image | SFW only | https://kusart.com/api-for-business/models/kusa-flash/pro/llms.txt |
| Kusa-Unlimited | `LTX_IMAGE_TO_VIDEO` | — | video | Image-to-video for specialized motions, with first- and last-frame inputs. Tags: Limited-time offer, Specialized training, First & last frame, With audio | First / last frames | 10 credits / second of output | — | https://kusart.com/api-for-business/models/kusa-unlimited/llms.txt |
| MiniMax H3 | `IMAGE_TO_VIDEO_MINIMAX_H3` | `fast_generation: false` | video | Expressive character motion with audio. The standard tier: 4–15 second clips up to 2K, with first & last frame or image, video and audio references. Tags: Semantic understanding, Up to 2K, With audio | Frames / reference mode | 50 credits / second of output | — | https://kusart.com/api-for-business/models/kusa-motion/standard/llms.txt |
| MiniMax H3 Max | `IMAGE_TO_VIDEO_MINIMAX_H3` | `fast_generation: true` | video | Expressive character motion with audio. Generates faster: 5–15 second clips up to 768P. First & last frame only. Tags: Videos in seconds, Up to 768P, With audio | First / last frames | 75 credits / second of output | — | https://kusart.com/api-for-business/models/kusa-motion/max/llms.txt |
| Kusa-Dance | `VIDEO_TO_VIDEO_ANIMATE` (own endpoint: multipart `POST /tasks/video_to_video/animate`, not /tasks/create; do not send task_type) | — | video | Upload a character image and a dance or motion video, and the character performs the same dance. 720p / 1080p. Tags: Any dance from one image, Motion transfer, With audio, Up to 1080P | Character image + reference video | 20 credits / second of output | — | https://kusart.com/api-for-business/models/kusa-dance/llms.txt |
| Seedance 2.0 Fast | `IMAGE_TO_VIDEO_SEEDANCE2` | `model: "FastX"` | video | Create video with image, video, and audio references. Audio output supported. The quickest, most affordable tier in the Seedance 2.0 series. Ideal for drafts and high-volume clips of 4–15 seconds. Tags: Multimodal references, Optional audio, Great value | Frames / reference mode | 100 credits / second of output | — | https://kusart.com/api-for-business/models/kusa-video/fast/llms.txt |
| Seedance 2.0 Pro | `IMAGE_TO_VIDEO_SEEDANCE2` | `model: "ProX"` | video | Create video with image, video, and audio references. Audio output supported. More consistent quality and finer detail than Fast, built for final cuts of 4–15 seconds. Tags: Multimodal references, Optional audio, Most reliable quality | Frames / reference mode | 125 credits / second of output | — | https://kusart.com/api-for-business/models/kusa-video/pro/llms.txt |
| Seedance 2.5 | `IMAGE_TO_VIDEO_SEEDANCE2` | `model: "Seedance2.5"` | video | Our longest clips, up to 30 seconds, with up to 10 reference videos or audio files. Audio output supported. Tags: Multimodal references, Optional audio, Up to 30 s | Frames / reference mode | 200 credits / second of output | — | https://kusart.com/api-for-business/models/kusa-video-ultra/llms.txt |
| Seedance 2.0 Mini | `IMAGE_TO_VIDEO_SEEDANCE2` | `model: "Mini"` | video | Create video with image, video, and audio references. Audio output supported. The lowest-cost tier in the Seedance 2.0 series: 480p or 720p, 4–15 seconds, with image, video and audio references. Tags: Multimodal references, Optional audio, Low cost | Frames / reference mode | 30 credits / second of output | — | https://kusart.com/api-for-business/models/kusa-video/mini/llms.txt |

### By capability

- Editor's pick: Kusa-Anima, Kusa-Krea2
- 303 styles: Kusa-Anima
- Great value: Kusa-Anima, Kusa-XL, GPT Image 2, Kusa-Krea2, Nano Banana, Seedance 2.0 Fast
- 159 styles: Kusa-XL
- Classic anime: Kusa-XL
- Fast generation: Kusa-XL
- Top-tier aesthetics: Niji Journey v7
- 4 images per run: Niji Journey v7
- Style reference: Niji Journey v7
- Consistent characters: Kusa-Mix, Kusa-Mix-Flash, Kusa-Mix-Pro
- Multi-image reference: Kusa-Mix, Kusa-Mix-Flash, Nano Banana, Nano Banana 2
- Up to 4K: Kusa-Mix
- Up to 2K: Kusa-Mix-Flash, Kusa-Mix-Pro, MiniMax H3
- Most reliable quality: Kusa-Mix-Pro, Nano Banana Pro, Seedance 2.0 Pro
- Complex layouts: GPT Image 2, GPT Image 2.5
- Clear text in images: GPT Image 2, GPT Image 2.5, Nano Banana Pro
- Image editing: GPT Image 2.5, Nano Banana, Nano Banana 2, Nano Banana Pro
- Style blending: Kusa-Easy
- Plain-language prompts: Kusa-Easy, Kusa-Krea2
- Painterly look: Kusa-Krea2
- Upgraded quality: Nano Banana 2
- Limited-time offer: Kusa-Unlimited
- Specialized training: Kusa-Unlimited
- First & last frame: Kusa-Unlimited
- With audio: Kusa-Unlimited, MiniMax H3, MiniMax H3 Max, Kusa-Dance
- Semantic understanding: MiniMax H3
- Videos in seconds: MiniMax H3 Max
- Up to 768P: MiniMax H3 Max
- Any dance from one image: Kusa-Dance
- Motion transfer: Kusa-Dance
- Up to 1080P: Kusa-Dance
- Multimodal references: Seedance 2.0 Fast, Seedance 2.0 Pro, Seedance 2.5, Seedance 2.0 Mini
- Optional audio: Seedance 2.0 Fast, Seedance 2.0 Pro, Seedance 2.5, Seedance 2.0 Mini
- Up to 30 s: Seedance 2.5
- Low cost: Seedance 2.0 Mini

Tips: for a single anime illustration or avatar on a small budget, start with a model priced around 10 credits per image. For edits or character consistency with reference images, use a model whose inputs include reference images. For image-to-video, pass the image as `image_url` (required by Kusa-Unlimited); video prices are per second of output. To make a character dance or copy the motion of an existing video, use Kusa-Dance (character image + reference video, own endpoint).

## Prompt language (Kusa-Anima / Kusa-XL)

Our text-to-image models Kusa-Anima and Kusa-XL work best with English prompts. Prompts in Chinese, Japanese, Korean or another language are translated into English automatically; to control the wording yourself, have an AI translate the prompt into English first, then call our API.

1. Check whether it is already English. If the prompt is already in English, do not translate it (this avoids altering the original and spending extra tokens).
2. If not, have an AI translate it. You can use gemini-2.5-flash: set the text below as the system prompt, send the user’s text as the input, and set temperature to 0.
3. Send the translation to our API.

No translation model available (for example a coding agent without one)? Translate the prompt yourself by the same rules: follow the system prompt below and check the result against the examples.

Translation system prompt (copy as is):

```text
You translate image-generation prompts into English for an anime image model.
Rules:
1. Translate faithfully. Do not add details, styles, lighting or quality words the user did not write.
2. Output comma-separated English tags or short phrases only. No explanations, no quotes.
3. Keep unchanged: existing English words and tags, emoji, weights like (smile:1.2), @artist names, and backslash-escaped parentheses like \( \).
4. Character and series names: use the Danbooru / romanized form and escape the parentheses with backslashes, e.g. klee \(genshin impact\), hikari \(blue archive\). Never output an unescaped form like "klee (genshin impact)".
5. Place names and scene words are not person names: 小川 = stream, 林 = forest.
6. Common terms: 厚涂/厚塗り→impasto, 地雷系→jirai kei, ジト目→jitome, メカクレ→hair over eyes, Q版/ちび→chibi, 机能风→techwear, 病娇/ヤンデレ→yandere.
7. Never drop the subject. Always translate person nouns such as 少女/女孩/女の子/소녀/fille/chica/garota/Madchen into girl, and 少年/男子 into boy.
```

Translation examples:

| User wrote | After translation |
| --- | --- |
| `光（蔚蓝档案）站在列车旁` | `hikari \(blue archive\), standing by train` |
| `(粉色头发:1.2)，猫耳，女仆装` | `(pink hair:1.2), cat ears, maid uniform` |
| `no humans, 小川, 林, 太陽光` | `no humans, stream, forest, sunlight` |

Note: when you write English yourself, put a backslash before the parentheses in character names. The system prompt above handles this automatically when translating. When you write English prompts yourself, write the parentheses in character names as `\(` `\)`, for example `hikari \(blue archive\)`. Without the backslashes the parentheses are treated as weighting marks and removed, and a character whose name collides with another may be drawn wrong. Write weights as usual, `(smile:1.2)`, and do not add backslashes to them. The underscore form copied from Danbooru, `hikari_(blue_archive)`, also loses its parentheses; change it to `hikari \(blue archive\)`.

Translation model: gemini-2.5-flash (recommended: all 35 test samples translated correctly). Not recommended for now: qwen3.7-flash, gemini-3.1-flash-lite, seed-1.6-flash, gemini-2.5-flash-lite, gpt-4.1-nano, mistral-small, deepseek-v3.2. We recommend setting temperature to 0.

Guide page for humans: https://kusart.com/api-for-business/docs/prompt-language

## How a request works

All endpoints are `POST` under `https://api.kusa.pics/api/go/b2b`. Send JSON with `Content-Type: application/json` unless noted.

1. Optional, only when the model needs an input image you have as a local file: `POST /uploads/image` as `multipart/form-data` with field `file` (JPEG / PNG / WebP / GIF, up to 10 MB). The upload is stored and returned as WebP. Use the returned `data.url` in the model's image field (`image_url`, `reference_images`, `input_image_urls`, ... see the model file). A public HTTPS image URL can be used directly.
2. Create the task once: `POST /tasks/create` with `{"task_type": "<exact value from the table>", "params": {...}}`. Success is HTTP 200 **and** `code == 0`; keep `data.task_id`. Exception: models whose task_type cell names their own endpoint (Kusa-Dance) are created on that endpoint as `multipart/form-data`, without task_type; polling is the same.
3. Poll `POST /tasks/get` with `{"task_id": "..."}` every 5 seconds until `data.status` is `COMPLETED`, `FAILED` or `CANCELLED`. Images usually finish in 10-60 s, videos in 1-10 min. Never create another task to check progress; if polling times out, keep the task_id and query it later.
4. On `COMPLETED`, download `data.result.images[].display_url` (images) or `data.result.videos[].display_url` (videos). Send a User-Agent when downloading too.

Create:

```bash
curl -X POST "https://api.kusa.pics/api/go/b2b/tasks/create" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $KUSART_API_KEY" \
  -H "User-Agent: my-app/1.0 (+https://example.com)" \
  -d '{
  "task_type": "ANIMA_TEXT_TO_IMAGE",
  "params": {
    "amount": 1,
    "height": 1024,
    "prompt": "anime character in a sunlit flower garden, delicate watercolor illustration",
    "turbo": true,
    "use_aesthetic": true,
    "watermark": false,
    "width": 1024
  }
}'
```

Create response:

```json
{
  "code": 0,
  "message": "Success",
  "data": {
    "task_id": "00000000-0000-0000-0000-000000000000",
    "status": "PENDING",
    "queue_position": 2,
    "generation_params": {
      "prompt": "anime engineer debugging an API dashboard",
      "watermark": false
    }
  }
}
```

Poll:

```bash
curl -X POST "https://api.kusa.pics/api/go/b2b/tasks/get" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $KUSART_API_KEY" \
  -H "User-Agent: my-app/1.0 (+https://example.com)" \
  -d '{
  "task_id": "YOUR_TASK_ID"
}'
```

Completed response:

```json
{
  "code": 0,
  "message": "Success",
  "data": {
    "task_id": "00000000-0000-0000-0000-000000000000",
    "task_type": "ANIMA_TEXT_TO_IMAGE",
    "status": "COMPLETED",
    "result": {
      "images": [
        {
          "display_url": "https://cdn.kusa.pics/generated/example.png",
          "width": 1024,
          "height": 1024,
          "index": 0
        }
      ],
      "image_count": 1
    }
  }
}
```

Optional: add header `Idempotency-Key: <your-uuid>` to `/tasks/create`. Retrying with the same key returns the first task (`data.is_idempotent_replay: true`) instead of creating and charging again. Optional `webhook_url` in the create body receives the final task; keep polling as a fallback.

Docs pages for humans: https://kusart.com/api-for-business/docs

## Style IDs

Some models take a style from the KusArt style library. Look IDs up instead of inventing them; both endpoints take `{}` as the body.

- Kusa-XL (`style_id`), Niji Journey v7 (`style_ids`, optional), Kusa-Easy (`styles[].style_id`): `POST https://api.kusa.pics/api/go/b2b/styles/list`
- Kusa-Anima (`style_ids`, optional): `POST https://api.kusa.pics/api/go/b2b/anima-styles/list`

`styles/list` groups styles by category: read IDs from `data.categories[].styles[].id`. The same ID can appear in more than one category; it is the same style.

Pick a style whose name or tags match the request. Kusa-Anima, Niji Journey v7, Kusa-Mix, GPT Image, Kusa-Krea2 and Nano Banana work from the prompt alone.

The style library currently has 594 styles: Kusa-Anima 303, Kusa-XL 159, Niji Journey v7 30, Kusa-Easy 102.

## Credits and spending

- Cost of one task = price per image x `amount` (Niji Journey v7: per request of 4 images), or price per second x `duration` for video. Prices for every tier are in each model's reference file.
- Always set `amount` (or `count`) explicitly. Some models generate more than one image when it is omitted.
- API-key requests always use Turbo, even if turbo is false. GPT Image 2: +8 credits per reference, charged for every output image; GPT Image 2.5: +10. Video references can add billable duration.
- Starting prices use the lowest standard tier. Size, quality, duration, reference inputs, and variants can change the total. The server calculates the final charge. There is no price-quote endpoint, and the create response does not return the charged amount.
- Before creating a task, tell the user the estimated cost. If the user already approved a budget that covers it, run it directly; if not, or if the estimate is above the budget, ask first.
- Credits are reserved when the task is created. Code 42002 (or 51001) means the key's account does not have enough credits; report it to the user instead of retrying.
- Pricing page: https://kusart.com/api-for-business/pricing

## Errors

Check HTTP status and body. code=0 means the request succeeded; generation succeeds only when data.status=COMPLETED. FAILED is still possible with code=0. A key uses its bound account or its owner’s credit pool. A freeze failure rejects creation. Some backend paths return generic code 51001 instead of 42002 for insufficient balance; do not rely on 42002 alone.

| Status | Meaning | What to do |
| --- | --- | --- |
| HTTP 401 | Unauthorized | Missing or invalid X-API-Key header (body has an `error` field, not `code`). |
| HTTP 403 | Blocked client | Default library User-Agents such as Python-urllib are rejected. Set your own User-Agent. |
| code 0 | Success | Request accepted or data returned successfully. |
| code 40000 | Invalid parameters | JSON body, task params, files, or URLs are invalid. |
| code 40100 | Unauthorized | Missing or invalid authentication context. |
| code 40300 | RATE_LIMIT_EXCEEDED | Rate limit exceeded. Retry later. |
| code 41002 | USER_DAILY_USAGE_EXCEEDED | Daily usage limit reached. |
| code 41003 | INVALID_PROMPT | The prompt is missing or invalid. |
| code 41004 | task_id | Task not found or not accessible to the key’s owner. |
| code 41005 | TASK_CANNOT_BE_CANCELLED | The task can no longer be cancelled. |
| code 41006 | PENDING / RUNNING | Poll /tasks/get for status. /tasks/get_result returns code 41006 before completion; after failure it can return code=0 with status=FAILED. |
| code 41007 | INVALID_STYLE_ID | The style ID is invalid. |
| code 41008 | AMOUNT_LIMIT_EXCEEDED | The requested number of outputs exceeds the limit. |
| code 41009 | WATERMARK_REMOVAL_NOT_ALLOWED | Removing the watermark requires a subscription. |
| code 41010 | VISIBILITY_FEATURE_NOT_ALLOWED | Changing visibility or copy protection requires a subscription. |
| code 41011 | TASK_CANNOT_BE_DELETED | The task cannot be deleted. |
| code 41012 | MODEL_CONFIG_CHANGED | The model configuration changed or the model version is unavailable. Reload the model list and retry. |
| code 41013 | TASK_IDEMPOTENCY_CONFLICT | The Idempotency-Key was already used for a different task type. |
| code 41015 | MODEL_TEMPORARILY_UNAVAILABLE | The selected model is temporarily unavailable. Try another model or try again later. No task is created and no credits are held. |
| code 42002 | Insufficient balance | The API key or user does not have enough available credits to freeze the task cost. |
| code 46001 | ABUSE_DETECTED | The request was blocked by abuse protection. |
| code 50000 | INTERNAL_SERVER_ERROR | Internal server error. Retry later. |
| code 51001 | task-create | Creation failed. Check the inputs and available balance; record code/message for diagnosis before retrying. |
| code 41001 | Unsupported task type | task_type is not an exact value from the model table above. Copy it from the table; do not guess. |
| code 46002 | Too many running tasks | Wait for running tasks to finish, then create the next one. |

## Model reference files

- [Kusa-Anima](https://kusart.com/api-for-business/models/kusa-anima/llms.txt): Anime illustration, 303 art styles, and your own trained character LoRAs.
- [Kusa-XL](https://kusart.com/api-for-business/models/kusa-xl/llms.txt): Classic anime illustration, 159 art styles, and image-to-image.
- [Niji Journey v7](https://kusart.com/api-for-business/models/kusa-niji/llms.txt): High-aesthetic anime illustrations. Four images per run, with style references.
- [Kusa-Mix](https://kusart.com/api-for-business/models/kusa-mix/llms.txt): Kusa-Mix, Kusa-Mix-Flash, Kusa-Mix-Pro. All-purpose image generation & editing model.
- [GPT Image](https://kusart.com/api-for-business/models/kusa-canvas/llms.txt): GPT Image 2, GPT Image 2.5. Clear lettering for posters, layouts, and UI artwork.
- [Kusa-Easy](https://kusart.com/api-for-business/models/kusa-easy/llms.txt): Blend art styles by weight, with a hand-painted feel and natural-language prompts.
- [Kusa-Krea2](https://kusart.com/api-for-business/models/kusa-krea2/llms.txt): Soft, painterly illustration from natural-language descriptions.
- [Nano Banana](https://kusart.com/api-for-business/models/kusa-flash/llms.txt): Nano Banana, Nano Banana 2, Nano Banana Pro. For fast image generation, editing, and character merchandise style transformations.
- [Kusa-Unlimited](https://kusart.com/api-for-business/models/kusa-unlimited/llms.txt): Image-to-video for specialized motions, with first- and last-frame inputs.
- [MiniMax H3](https://kusart.com/api-for-business/models/kusa-motion/llms.txt): MiniMax H3, MiniMax H3 Max. Expressive character motion with audio.
- [Kusa-Dance](https://kusart.com/api-for-business/models/kusa-dance/llms.txt): Upload a character image and a dance or motion video, and the character performs the same dance. 720p / 1080p.
- [Seedance 2.0](https://kusart.com/api-for-business/models/kusa-video/llms.txt): Seedance 2.0 Fast, Seedance 2.0 Pro, Seedance 2.0 Mini. Create video with image, video, and audio references. Audio output supported.
- [Seedance 2.5](https://kusart.com/api-for-business/models/kusa-video-ultra/llms.txt): Our longest clips, up to 30 seconds, with up to 10 reference videos or audio files. Audio output supported.

## Optional

- [All model references in one file](https://kusart.com/llms-full.txt)
- [Pricing page](https://kusart.com/api-for-business/pricing)
- [API docs (HTML)](https://kusart.com/api-for-business/docs)
- [Style library (HTML)](https://kusart.com/api-for-business/styles)

---

# Kusa-Anima

> Anime illustration, 303 art styles, and your own trained character LoRAs.

- task_type: `ANIMA_TEXT_TO_IMAGE`
- Output: image
- Inputs: Text
- English prompts work best. Prompts in Chinese, Japanese and other languages are translated into English automatically; write parentheses in character names as \( \). See "Prompt language" below.
- Multiple characters: start with a people-count tag such as 2girls, then write one English sentence per character with name, position from the viewer’s side, action and appearance. See "Multiple characters" below.
- Create: `POST https://api.kusa.pics/api/go/b2b/tasks/create`, then poll `POST https://api.kusa.pics/api/go/b2b/tasks/get`. Headers, polling, errors and spending rules: https://kusart.com/llms.txt
- Docs page: https://kusart.com/api-for-business/docs/kusa-anima · Model page: https://kusart.com/api-for-business/models/kusa-anima

## Prompt language

Our text-to-image models Kusa-Anima and Kusa-XL work best with English prompts. Prompts in Chinese, Japanese, Korean or another language are translated into English automatically; to control the wording yourself, have an AI translate the prompt into English first, then call our API.

1. Check whether it is already English. If the prompt is already in English, do not translate it (this avoids altering the original and spending extra tokens).
2. If not, have an AI translate it. You can use gemini-2.5-flash: set the text below as the system prompt, send the user’s text as the input, and set temperature to 0.
3. Send the translation to our API.

No translation model available (for example a coding agent without one)? Translate the prompt yourself by the same rules: follow the system prompt below and check the result against the examples.

Translation system prompt (copy as is):

```text
You translate image-generation prompts into English for an anime image model.
Rules:
1. Translate faithfully. Do not add details, styles, lighting or quality words the user did not write.
2. Output comma-separated English tags or short phrases only. No explanations, no quotes.
3. Keep unchanged: existing English words and tags, emoji, weights like (smile:1.2), @artist names, and backslash-escaped parentheses like \( \).
4. Character and series names: use the Danbooru / romanized form and escape the parentheses with backslashes, e.g. klee \(genshin impact\), hikari \(blue archive\). Never output an unescaped form like "klee (genshin impact)".
5. Place names and scene words are not person names: 小川 = stream, 林 = forest.
6. Common terms: 厚涂/厚塗り→impasto, 地雷系→jirai kei, ジト目→jitome, メカクレ→hair over eyes, Q版/ちび→chibi, 机能风→techwear, 病娇/ヤンデレ→yandere.
7. Never drop the subject. Always translate person nouns such as 少女/女孩/女の子/소녀/fille/chica/garota/Madchen into girl, and 少年/男子 into boy.
```

Translation examples:

| User wrote | After translation |
| --- | --- |
| `光（蔚蓝档案）站在列车旁` | `hikari \(blue archive\), standing by train` |
| `(粉色头发:1.2)，猫耳，女仆装` | `(pink hair:1.2), cat ears, maid uniform` |
| `no humans, 小川, 林, 太陽光` | `no humans, stream, forest, sunlight` |

Note: when you write English yourself, put a backslash before the parentheses in character names. The system prompt above handles this automatically when translating. When you write English prompts yourself, write the parentheses in character names as `\(` `\)`, for example `hikari \(blue archive\)`. Without the backslashes the parentheses are treated as weighting marks and removed, and a character whose name collides with another may be drawn wrong. Write weights as usual, `(smile:1.2)`, and do not add backslashes to them. The underscore form copied from Danbooru, `hikari_(blue_archive)`, also loses its parentheses; change it to `hikari \(blue archive\)`.

Translation model: gemini-2.5-flash (recommended: all 35 test samples translated correctly). Not recommended for now: qwen3.7-flash, gemini-3.1-flash-lite, seed-1.6-flash, gemini-2.5-flash-lite, gpt-4.1-nano, mistral-small, deepseek-v3.2. We recommend setting temperature to 0.

Guide page for humans: https://kusart.com/api-for-business/docs/prompt-language

## Multiple characters

Conclusion: first use Danbooru-style tags to set the elements and the number of people, then use natural language to state each character’s name, position, action and appearance. For multi-character images, do not just pile up tags, or hair, outfits and actions easily get mixed between characters.

Recommended prompt order:

1. Start with the people-count tag, e.g. `2girls`, `couple`, `2boys`, `3girls`.
2. Write the character names and the scene: tell the model who is in the image and where the background is.
3. Write positions from the viewer’s side: left, right, foreground, center and so on.
4. Write actions: say exactly what each character is doing.
5. Add appearance when needed: hairstyle, hair color, eyes, outfit, expression and so on.

- Key rule: write positions from the point of view of the person looking at the image, not from the characters’ own point of view. Organize the prompt in the order top left, top right, bottom left, bottom right.
- Appearance can be strung together like a list; it does not have to be a complex sentence. The key is to keep each appearance detail right next to its character.
- The longer the prompt, the more likely it breaks. The original splits the characters up so each one gets its own sentence, and adds background and angle tags.
- People-count tags: `2girls`, `couple`, `2boys`, `3girls`.

Fill-in template (copy it and replace each ___):

```text
flat color, masterpiece, 2girls,

___ and ___. The background is ___.

On the left, ___, with ___, is ___.

In the foreground on the right, ___, with ___, is ___.
```

Replace `2girls` with the actual people-count tag (`couple`, `2boys`, `3girls` ...). Write appearance after `with` and the action after `is`. For three characters add a line such as `In the center, ___ is ___.`

Example (two characters with appearance):

```text
flat color, masterpiece, 2girls,

Fuka-chan and Abe-chan.

On the left, Fuka-chan, with her long white hair, a cowlick covering one eye, and yellow, narrowed eyes, is sitting expressionlessly in a black T-shirt, black long skirt, and black sandals. An omelet rice dish is on the table, with her portrait drawn on top in ketchup. Standing in the foreground on the right is Abe-chan, with her orange bob haircut, wearing a maid outfit and green eyes, smiling and pouring ketchup onto the omelet rice.
```

Guide page for humans: https://kusart.com/api-for-business/docs/multi-character

## Request example

Replace the prompt and any REPLACE_WITH_ placeholders before sending.

```bash
curl -X POST "https://api.kusa.pics/api/go/b2b/tasks/create" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $KUSART_API_KEY" \
  -H "User-Agent: my-app/1.0 (+https://example.com)" \
  -d '{
  "task_type": "ANIMA_TEXT_TO_IMAGE",
  "params": {
    "amount": 1,
    "height": 1024,
    "prompt": "anime character in a sunlit flower garden, delicate watercolor illustration",
    "turbo": true,
    "use_aesthetic": true,
    "watermark": false,
    "width": 1024
  }
}'
```

## Parameters (`params`)

| Field | Type | Required | Example value | Description |
| --- | --- | --- | --- | --- |
| `prompt` | string | yes | "anime character in a sunlit flower garden, delicate watercolor illustration" | Positive prompt. |
| `negative_prompt` | string | no | — | Negative prompt. |
| `seed` | integer | no | — | Random seed. |
| `watermark` | boolean | no | false | Add a watermark; omitted defaults to false (no watermark). |
| `amount` | integer | no | 1 | Number of images. Set amount explicitly to 1 for the first test. |
| `width` | integer | no | 1024 | Output dimensions. |
| `height` | integer | no | 1024 | Output dimensions. |
| `turbo` | boolean | no | true | API-key requests always use Turbo, even if turbo is false. |
| `use_aesthetic` | boolean | no | true | Model-specific parameters. |
| `use_layer_replay` | boolean | no | — | Layer replay enhancement for steadier details and structure. Defaults to false; does not change the price. |
| `style_ids` | array | no | — | IDs from /api/go/b2b/anima-styles/list; style_ids and loras total at most 5. |
| `loras` | array | no | — | Each item requires lora_id and lora_source (USER or FEATURED); strengths are optional. |

## Pricing

Base rates exclude quantity, video duration and reference-media surcharges. Final charges are determined by the server.

| Tier | Sizes / spec | Credits | Unit | Set these params |
| --- | --- | --- | --- | --- |
| Kusa-Anima | 768×1152, 832×1216, 1216×832, 768×1344, 1024×1024, 1080×1352, 1024×1536, 1536×1024, 960×1680, 1280×1280 | 10 | credits / image | `turbo: true` |
| Kusa-Anima | 1080×1920, 1920×1080, 1472×1472 | 15 | credits / image | `turbo: true` |

## Notes

- Asynchronous JSON task. Submit once, keep task_id, then poll /tasks/get.
- API-key requests always use Turbo, even if turbo is false.
- IDs from /api/go/b2b/anima-styles/list; style_ids and loras total at most 5.
- Use one of the listed sizes. Sizes outside the table are billed at the highest tier.
- Set amount (or count) explicitly. Some models generate more than one image when it is omitted.
- API key requests get no watermark unless you send watermark: true (omitted watermark means false).

---

# Kusa-XL

> Classic anime illustration, 159 art styles, and image-to-image.

- task_type: `TEXT_TO_IMAGE`
- Output: image
- Inputs: Text / reference images
- English prompts work best. Prompts in Chinese, Japanese and other languages are translated into English automatically; write parentheses in character names as \( \). See "Prompt language" below.
- Create: `POST https://api.kusa.pics/api/go/b2b/tasks/create`, then poll `POST https://api.kusa.pics/api/go/b2b/tasks/get`. Headers, polling, errors and spending rules: https://kusart.com/llms.txt
- Docs page: https://kusart.com/api-for-business/docs/kusa-xl · Model page: https://kusart.com/api-for-business/models/kusa-xl

## Prompt language

Our text-to-image models Kusa-Anima and Kusa-XL work best with English prompts. Prompts in Chinese, Japanese, Korean or another language are translated into English automatically; to control the wording yourself, have an AI translate the prompt into English first, then call our API.

1. Check whether it is already English. If the prompt is already in English, do not translate it (this avoids altering the original and spending extra tokens).
2. If not, have an AI translate it. You can use gemini-2.5-flash: set the text below as the system prompt, send the user’s text as the input, and set temperature to 0.
3. Send the translation to our API.

No translation model available (for example a coding agent without one)? Translate the prompt yourself by the same rules: follow the system prompt below and check the result against the examples.

Translation system prompt (copy as is):

```text
You translate image-generation prompts into English for an anime image model.
Rules:
1. Translate faithfully. Do not add details, styles, lighting or quality words the user did not write.
2. Output comma-separated English tags or short phrases only. No explanations, no quotes.
3. Keep unchanged: existing English words and tags, emoji, weights like (smile:1.2), @artist names, and backslash-escaped parentheses like \( \).
4. Character and series names: use the Danbooru / romanized form and escape the parentheses with backslashes, e.g. klee \(genshin impact\), hikari \(blue archive\). Never output an unescaped form like "klee (genshin impact)".
5. Place names and scene words are not person names: 小川 = stream, 林 = forest.
6. Common terms: 厚涂/厚塗り→impasto, 地雷系→jirai kei, ジト目→jitome, メカクレ→hair over eyes, Q版/ちび→chibi, 机能风→techwear, 病娇/ヤンデレ→yandere.
7. Never drop the subject. Always translate person nouns such as 少女/女孩/女の子/소녀/fille/chica/garota/Madchen into girl, and 少年/男子 into boy.
```

Translation examples:

| User wrote | After translation |
| --- | --- |
| `光（蔚蓝档案）站在列车旁` | `hikari \(blue archive\), standing by train` |
| `(粉色头发:1.2)，猫耳，女仆装` | `(pink hair:1.2), cat ears, maid uniform` |
| `no humans, 小川, 林, 太陽光` | `no humans, stream, forest, sunlight` |

Note: when you write English yourself, put a backslash before the parentheses in character names. The system prompt above handles this automatically when translating. When you write English prompts yourself, write the parentheses in character names as `\(` `\)`, for example `hikari \(blue archive\)`. Without the backslashes the parentheses are treated as weighting marks and removed, and a character whose name collides with another may be drawn wrong. Write weights as usual, `(smile:1.2)`, and do not add backslashes to them. The underscore form copied from Danbooru, `hikari_(blue_archive)`, also loses its parentheses; change it to `hikari \(blue archive\)`.

Translation model: gemini-2.5-flash (recommended: all 35 test samples translated correctly). Not recommended for now: qwen3.7-flash, gemini-3.1-flash-lite, seed-1.6-flash, gemini-2.5-flash-lite, gpt-4.1-nano, mistral-small, deepseek-v3.2. We recommend setting temperature to 0.

Guide page for humans: https://kusart.com/api-for-business/docs/prompt-language

## Request example

Replace the prompt and any REPLACE_WITH_ placeholders before sending.

```bash
curl -X POST "https://api.kusa.pics/api/go/b2b/tasks/create" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $KUSART_API_KEY" \
  -H "User-Agent: my-app/1.0 (+https://example.com)" \
  -d '{
  "task_type": "TEXT_TO_IMAGE",
  "params": {
    "amount": 1,
    "height": 1024,
    "prompt": "anime traveler beside a vintage car at sunset, cinematic cel shading",
    "style_id": "204",
    "watermark": false,
    "width": 1024
  }
}'
```

## Parameters (`params`)

| Field | Type | Required | Example value | Description |
| --- | --- | --- | --- | --- |
| `prompt` | string | yes | "anime traveler beside a vintage car at sunset, cinematic cel shading" | Positive prompt. |
| `negative_prompt` | string | no | — | Negative prompt. |
| `watermark` | boolean | no | false | Add a watermark; omitted defaults to false (no watermark). |
| `prompt_template_id` | integer | no | — | Prompt template ID. Can be combined with prompt. |
| `amount` | integer | no | 1 | Image count. |
| `style_id` | string | yes | "204" | Use a real ID returned by /api/go/b2b/styles/list. |
| `width` | integer | no | 1024 | Each edge ≥64 px; total pixels ≤2,166,784. 2048×2048 is not accepted by this task. |
| `height` | integer | no | 1024 | Each edge ≥64 px; total pixels ≤2,166,784. 2048×2048 is not accepted by this task. |
| `init_image_url` | string | no | — | Accessible input image URL. |
| `denoise` | number | no | — | 0–1 |

## Pricing

Base rates exclude quantity, video duration and reference-media surcharges. Final charges are determined by the server.

| Tier | Sizes / spec | Credits | Unit | Set these params |
| --- | --- | --- | --- | --- |
| Kusa-XL | 960×1680, 1024×1024, 832×1216, 1216×832, 1080×1352, 1536×1024, 1024×1536 | 10 | credits / image | — |
| Kusa-XL | 1280×1280, 1080×1920, 1920×1080 | 15 | credits / image | — |
| Kusa-XL | 1472×1472 | 20 | credits / image | — |
| Kusa-XL | 2048×2048 | 40 | credits / image | — |

## Notes

- POST /api/go/b2b/styles/list with {} returns styles grouped by category: data.categories[].styles[].id. The same ID can appear in more than one category; it is the same style.
- Use /tasks/get or webhook_url for final result delivery.
- Sizes outside the table are accepted and currently billed at the base rate per image.
- Set amount (or count) explicitly. Some models generate more than one image when it is omitted.
- API key requests get no watermark unless you send watermark: true (omitted watermark means false).

---

# Niji Journey v7

> High-aesthetic anime illustrations. Four images per run, with style references.

- task_type: `TEXT_TO_IMAGE_NIJI`
- Output: image
- Inputs: Text / style reference
- For SFW requests only.
- Create: `POST https://api.kusa.pics/api/go/b2b/tasks/create`, then poll `POST https://api.kusa.pics/api/go/b2b/tasks/get`. Headers, polling, errors and spending rules: https://kusart.com/llms.txt
- Docs page: https://kusart.com/api-for-business/docs/kusa-niji · Model page: https://kusart.com/api-for-business/models/kusa-niji

## Request example

Replace the prompt and any REPLACE_WITH_ placeholders before sending.

```bash
curl -X POST "https://api.kusa.pics/api/go/b2b/tasks/create" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $KUSART_API_KEY" \
  -H "User-Agent: my-app/1.0 (+https://example.com)" \
  -d '{
  "task_type": "TEXT_TO_IMAGE_NIJI",
  "params": {
    "aspect_ratio": "1:1",
    "count": 4,
    "prompt": "anime illustration, a traveler beneath blooming cherry trees",
    "style_ids": [],
    "style_reference_image_urls": [],
    "watermark": false
  }
}'
```

## Parameters (`params`)

| Field | Type | Required | Example value | Description |
| --- | --- | --- | --- | --- |
| `prompt` | string | yes | "anime illustration, a traveler beneath blooming cherry trees" | Prompt text. |
| `watermark` | boolean | no | false | Add a watermark; omitted defaults to false (no watermark). |
| `prompt_template_id` | integer | no | — | Prompt template ID. Can be combined with prompt. |
| `is_public` | boolean | no | — | Whether the result is public on KusArt; omitted defaults to true (public). Set false to keep it private. |
| `aspect_ratio` | string | no | "1:1" | 1:1 / 16:9 / 9:16 / 4:3 / 3:4 |
| `count` | integer | no | 4 | 4 |
| `element_image_urls` | array | no | — | Accessible input image URL. |
| `style_reference_image_urls` | array | no | [] | Accessible input image URL. ≤3 |
| `style_ids` | array | no | [] | Model-specific parameters. |

## Pricing

Base rates exclude quantity, video duration and reference-media surcharges. Final charges are determined by the server.

| Tier | Sizes / spec | Credits | Unit | Set these params |
| --- | --- | --- | --- | --- |
| Niji Journey v7 | 4 | 100 | credits / request (4 images) | `count: 4` |

## Notes

- Always count=4. Style references do not guarantee character identity.
- Niji Journey v7 returns 4 images per request: 100 credits at the listed tier, equivalent to 25 per image. Style reference is supported; character reference is not.
- Set amount (or count) explicitly. Some models generate more than one image when it is omitted.
- API key requests get no watermark unless you send watermark: true (omitted watermark means false).

---

# Kusa-Mix

> All-purpose image generation & editing model.

- task_type: `TEXT_TO_IMAGE_KUSA_MIX`
- Output: image
- Inputs: Text / reference images
- Create: `POST https://api.kusa.pics/api/go/b2b/tasks/create`, then poll `POST https://api.kusa.pics/api/go/b2b/tasks/get`. Headers, polling, errors and spending rules: https://kusart.com/llms.txt
- Docs page: https://kusart.com/api-for-business/docs/kusa-mix · Model page: https://kusart.com/api-for-business/models/kusa-mix

## Request example

Replace the prompt and any REPLACE_WITH_ placeholders before sending.

```bash
curl -X POST "https://api.kusa.pics/api/go/b2b/tasks/create" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $KUSART_API_KEY" \
  -H "User-Agent: my-app/1.0 (+https://example.com)" \
  -d '{
  "task_type": "TEXT_TO_IMAGE_KUSA_MIX",
  "params": {
    "amount": 1,
    "model_version": "seedream-4.5",
    "prompt": "anime character reading in a sunlit bookstore, consistent character design",
    "size": "2K",
    "watermark": false
  }
}'
```

## Parameters (`params`)

| Field | Type | Required | Example value | Description |
| --- | --- | --- | --- | --- |
| `prompt` | string | yes | "anime character reading in a sunlit bookstore, consistent character design" | Prompt text. |
| `model_version` | string | no | "seedream-4.5" | seedream-4.5 = Kusa-Mix; seedream-5-flash = Kusa-Mix-Flash; seedream-5-pro = Kusa-Mix-Pro |
| `watermark` | boolean | no | false | Add a watermark; omitted defaults to false (no watermark). |
| `amount` | integer | no | 1 | Number of images. Set amount explicitly to 1 for the first test. 1–4 |
| `size` | string | no | "2K" | 4.5: 2K / 4K; Flash / Pro: 1K / 1.5K / 2K |
| `width` | integer | no | — | Output dimensions. |
| `height` | integer | no | — | Output dimensions. |
| `reference_images` | array | no | — | Up to 9 references as URLs or Base64; formats JPEG/PNG/WebP. |

## Versions and pricing

Base rates exclude quantity, video duration and reference-media surcharges. Final charges are determined by the server.

### Kusa-Mix

- Version params: `model_version: "seedream-4.5"`
- All-purpose image generation & editing model. Balances cost and clarity, with output up to 4K. Tags: Consistent characters, Multi-image reference, Up to 4K.
- Starting price: 45 credits / image
- Reference file for this version only: https://kusart.com/api-for-business/models/kusa-mix/standard/llms.txt

| Tier | Sizes / spec | Credits | Unit | Set these params |
| --- | --- | --- | --- | --- |
| Kusa-Mix | 2K, 4K | 45 | credits / image | `model_version: "seedream-4.5"` |

### Kusa-Mix-Flash

- Version params: `model_version: "seedream-5-flash"`
- All-purpose image generation & editing model. For quick drafts and iterative edits, balancing efficiency and cost. Tags: Consistent characters, Multi-image reference, Up to 2K.
- Starting price: 60 credits / image
- Reference file for this version only: https://kusart.com/api-for-business/models/kusa-mix/flash/llms.txt

| Tier | Sizes / spec | Credits | Unit | Set these params |
| --- | --- | --- | --- | --- |
| Kusa-Mix-Flash | 1K, 1.5K, 2K | 60 | credits / image | `model_version: "seedream-5-flash"` |

### Kusa-Mix-Pro

- Version params: `model_version: "seedream-5-pro"`
- All-purpose image generation & editing model. Focuses on fine detail and polished results for precise creative work. Tags: Consistent characters, Most reliable quality, Up to 2K.
- Starting price: 120 credits / image
- Reference file for this version only: https://kusart.com/api-for-business/models/kusa-mix/pro/llms.txt

| Tier | Sizes / spec | Credits | Unit | Set these params |
| --- | --- | --- | --- | --- |
| Kusa-Mix-Pro | 1K, 1.5K, 2K | 120 | credits / image | `model_version: "seedream-5-pro"` |

## Notes

- Available business model_version; omit to use the server default. Legacy seedream-5-lite maps to seedream-5-flash.
- Set amount (or count) explicitly. Some models generate more than one image when it is omitted.
- API key requests get no watermark unless you send watermark: true (omitted watermark means false).

---

# GPT Image

> Clear lettering for posters, layouts, and UI artwork.

- task_type: `API_TEXT_TO_IMAGE_GPT_IMAGE_2`
- Output: image
- Inputs: Text / reference images
- For SFW requests only.
- Create: `POST https://api.kusa.pics/api/go/b2b/tasks/create`, then poll `POST https://api.kusa.pics/api/go/b2b/tasks/get`. Headers, polling, errors and spending rules: https://kusart.com/llms.txt
- Docs page: https://kusart.com/api-for-business/docs/kusa-gpt · Model page: https://kusart.com/api-for-business/models/kusa-canvas

## Request example

Replace the prompt and any REPLACE_WITH_ placeholders before sending.

```bash
curl -X POST "https://api.kusa.pics/api/go/b2b/tasks/create" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $KUSART_API_KEY" \
  -H "User-Agent: my-app/1.0 (+https://example.com)" \
  -d '{
  "task_type": "API_TEXT_TO_IMAGE_GPT_IMAGE_2",
  "params": {
    "amount": 1,
    "model": "gpt-image-2",
    "prompt": "A clean anime concert poster with the title '\''STARLIGHT LIVE'\'', crisp typography",
    "quality": "low",
    "size": "1024x1024",
    "watermark": false
  }
}'
```

## Parameters (`params`)

| Field | Type | Required | Example value | Description |
| --- | --- | --- | --- | --- |
| `prompt` | string | yes | "A clean anime concert poster with the title 'STARLIGHT LIVE', crisp typography" | Prompt text. |
| `model` | string | no | "gpt-image-2" | gpt-image-2 = GPT Image 2; gpt-image-2.5-flare = GPT Image 2.5 · Flare; gpt-image-2.5-sunburst = GPT Image 2.5 · Sunburst |
| `watermark` | boolean | no | false | Add a watermark; omitted defaults to false (no watermark). |
| `amount` | integer | no | 1 | 1 to 4 images. |
| `size` | string | no | "1024x1024" | 1024x1024 / 1280x720 / 1024x768 / 864x1536 / 1024x1536 / 1024x1280 / 1536x1024 / 1792x1024 / auto |
| `input_image_urls` | array | no | — | Uploaded image URLs or storage paths. |
| `b64_images` | array | no | — | Reference images for edit mode. |
| `quality` | string | no | "low" | low, medium, high, or auto. |

## Versions and pricing

Base rates exclude quantity, video duration and reference-media surcharges. Final charges are determined by the server.

### GPT Image 2

- Version params: `model: "gpt-image-2"`
- Clear lettering for posters, layouts, and UI artwork. Image generation and editing, priced by size and quality tier. Tags: Complex layouts, Clear text in images, Great value.
- Starting price: 8 credits / image
- Reference file for this version only: https://kusart.com/api-for-business/models/kusa-canvas/2/llms.txt

| Tier | Sizes / spec | Credits | Unit | Set these params |
| --- | --- | --- | --- | --- |
| GPT Image 2 · low | 1024×1024, 1024×768, 1280×720 | 9 | credits / image | `model: "gpt-image-2"`, `quality: "low"` |
| GPT Image 2 · low | 1024×1280, 1024×1536, 1536×1024, 1792×1024, 864×1536, auto | 8 | credits / image | `model: "gpt-image-2"`, `quality: "low"` |
| GPT Image 2 · medium | 1024×1024, 1024×768, 1280×720 | 80 | credits / image | `model: "gpt-image-2"`, `quality: "medium"` |
| GPT Image 2 · medium | 1024×1280, 1024×1536, 1536×1024, 1792×1024, 864×1536, auto | 61 | credits / image | `model: "gpt-image-2"`, `quality: "medium"` |
| GPT Image 2 · high | 1024×1024, 1024×768, 1280×720 | 313 | credits / image | `model: "gpt-image-2"`, `quality: "high"` |
| GPT Image 2 · high | 1024×1280, 1024×1536, 1536×1024, 1792×1024, 864×1536, auto | 245 | credits / image | `model: "gpt-image-2"`, `quality: "high"` |

### GPT Image 2.5

- Version params: `model: "gpt-image-2.5-flare"`
- Clear lettering for posters, layouts, and UI artwork. Flare / Sunburst variants for image generation and editing, with quality tiers. Tags: Complex layouts, Clear text in images, Image editing.
- Starting price: 15 credits / image
- Reference file for this version only: https://kusart.com/api-for-business/models/kusa-canvas/2.5/llms.txt

| Tier | Sizes / spec | Credits | Unit | Set these params |
| --- | --- | --- | --- | --- |
| GPT Image 2.5 · low | 1024×1024, 1024×1280, 1024×1536, 1024×768, 1280×720, 1536×1024, 1792×1024, 864×1536, auto | 15 | credits / image | `model: "gpt-image-2.5-flare"`, `quality: "low"` |
| GPT Image 2.5 · medium | 1024×1024, 1024×1280, 1024×1536, 1024×768, 1280×720, 1536×1024, 1792×1024, 864×1536, auto | 30 | credits / image | `model: "gpt-image-2.5-flare"`, `quality: "medium"` |
| GPT Image 2.5 · high | 1024×1024, 1024×1280, 1024×1536, 1024×768, 1280×720, 1536×1024, 1792×1024, 864×1536, auto | 100 | credits / image | `model: "gpt-image-2.5-flare"`, `quality: "high"` |

## Notes

- Asynchronous JSON task. Submit once, keep task_id, then poll /tasks/get.
- GPT Image 2 is the default; 2.5 requires an explicit model. Price depends on model, size and quality; each reference adds credits.
- GPT Image 2: +8 credits per reference, charged for every output image; GPT Image 2.5: +10. Video references can add billable duration.
- Set amount (or count) explicitly. Some models generate more than one image when it is omitted.
- API key requests get no watermark unless you send watermark: true (omitted watermark means false).

---

# Kusa-Easy

> Blend art styles by weight, with a hand-painted feel and natural-language prompts.

- task_type: `TEXT_TO_IMAGE_EASY`
- Output: image
- Inputs: Text
- Create: `POST https://api.kusa.pics/api/go/b2b/tasks/create`, then poll `POST https://api.kusa.pics/api/go/b2b/tasks/get`. Headers, polling, errors and spending rules: https://kusart.com/llms.txt
- Docs page: https://kusart.com/api-for-business/docs/kusa-easy · Model page: https://kusart.com/api-for-business/models/kusa-easy

## Request example

Replace the prompt and any REPLACE_WITH_ placeholders before sending.

```bash
curl -X POST "https://api.kusa.pics/api/go/b2b/tasks/create" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $KUSART_API_KEY" \
  -H "User-Agent: my-app/1.0 (+https://example.com)" \
  -d '{
  "task_type": "TEXT_TO_IMAGE_EASY",
  "params": {
    "amount": 1,
    "height": 1024,
    "prompt": "anime girl carrying a lantern through a field of sunflowers, hand-painted illustration",
    "styles": [
      {
        "priority": 1,
        "style_id": "157",
        "weight": 1
      }
    ],
    "watermark": false,
    "width": 1024
  }
}'
```

## Parameters (`params`)

| Field | Type | Required | Example value | Description |
| --- | --- | --- | --- | --- |
| `prompt` | string | yes | "anime girl carrying a lantern through a field of sunflowers, hand-painted illustration" | Positive prompt. |
| `negative_prompt` | string | no | — | Negative prompt. |
| `watermark` | boolean | no | false | Add a watermark; omitted defaults to false (no watermark). |
| `amount` | integer | no | 1 | Number of images. Set amount explicitly to 1 for the first test. |
| `styles` | array | yes | [{"priority":1,"style_id":"157","weight":1}] | Nonempty array of {style_id, priority, weight}; use a real style ID and weight > 0. |
| `width` | integer | no | 1024 | Output dimensions. |
| `height` | integer | no | 1024 | Output dimensions. |

## Pricing

Base rates exclude quantity, video duration and reference-media surcharges. Final charges are determined by the server.

| Tier | Sizes / spec | Credits | Unit | Set these params |
| --- | --- | --- | --- | --- |
| Kusa-Easy | 960×1680, 1024×1024, 832×1216, 1216×832, 1080×1352, 1536×1024, 1024×1536 | 20 | credits / image | — |
| Kusa-Easy | 1280×1280, 1080×1920, 1920×1080 | 30 | credits / image | — |
| Kusa-Easy | 1472×1472 | 40 | credits / image | — |
| Kusa-Easy | 2048×2048 | 80 | credits / image | — |

## Notes

- POST /api/go/b2b/styles/list with {} returns styles grouped by category: data.categories[].styles[].id. The same ID can appear in more than one category; it is the same style.
- Nonempty array of {style_id, priority, weight}; use a real style ID and weight > 0.
- Sizes outside the table are accepted and currently billed at the base rate per image.
- Set amount (or count) explicitly. Some models generate more than one image when it is omitted.
- API key requests get no watermark unless you send watermark: true (omitted watermark means false).

---

# Kusa-Krea2

> Soft, painterly illustration from natural-language descriptions.

- task_type: `KREA2_TEXT_TO_IMAGE`
- Output: image
- Inputs: Text
- Create: `POST https://api.kusa.pics/api/go/b2b/tasks/create`, then poll `POST https://api.kusa.pics/api/go/b2b/tasks/get`. Headers, polling, errors and spending rules: https://kusart.com/llms.txt
- Docs page: https://kusart.com/api-for-business/docs/kusa-krea2 · Model page: https://kusart.com/api-for-business/models/kusa-krea2

## Request example

Replace the prompt and any REPLACE_WITH_ placeholders before sending.

```bash
curl -X POST "https://api.kusa.pics/api/go/b2b/tasks/create" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $KUSART_API_KEY" \
  -H "User-Agent: my-app/1.0 (+https://example.com)" \
  -d '{
  "task_type": "KREA2_TEXT_TO_IMAGE",
  "params": {
    "amount": 1,
    "height": 1024,
    "prompt": "A silver-haired musician playing a keytar on a city rooftop at golden hour",
    "use_default_lora": true,
    "watermark": false,
    "width": 1024
  }
}'
```

## Parameters (`params`)

| Field | Type | Required | Example value | Description |
| --- | --- | --- | --- | --- |
| `prompt` | string | yes | "A silver-haired musician playing a keytar on a city rooftop at golden hour" | Prompt text. |
| `negative_prompt` | string | no | — | Negative prompt. |
| `seed` | integer | no | — | Random seed. |
| `watermark` | boolean | no | false | Add a watermark; omitted defaults to false (no watermark). |
| `amount` | integer | no | 1 | Number of images. Set amount explicitly to 1 for the first test. 1–4 |
| `width` | integer | no | 1024 | Output width and height in pixels. ≥64; width×height ≤4,194,304 |
| `height` | integer | no | 1024 | Output width and height in pixels. ≥64; width×height ≤4,194,304 |
| `use_default_lora` | boolean | no | true | Use the built-in art-style LoRA; default true. |

## Pricing

Base rates exclude quantity, video duration and reference-media surcharges. Final charges are determined by the server.

| Tier | Sizes / spec | Credits | Unit | Set these params |
| --- | --- | --- | --- | --- |
| Kusa-Krea2 | ≤ 1,153,433 px | 15 | credits / image | — |
| Kusa-Krea2 | 1,153,434–2,306,867 px | 30 | credits / image | — |
| Kusa-Krea2 | > 2,306,867 px (max 2048×2048) | 60 | credits / image | — |

## Notes

- Text to image only; no style_id, reference images or img2img.
- Set amount (or count) explicitly. Some models generate more than one image when it is omitted.
- API key requests get no watermark unless you send watermark: true (omitted watermark means false).

---

# Nano Banana

> For fast image generation, editing, and character merchandise style transformations.

- task_type: `API_TEXT_TO_IMAGE`
- Output: image
- Inputs: Text / reference images
- For SFW requests only.
- Create: `POST https://api.kusa.pics/api/go/b2b/tasks/create`, then poll `POST https://api.kusa.pics/api/go/b2b/tasks/get`. Headers, polling, errors and spending rules: https://kusart.com/llms.txt
- Docs page: https://kusart.com/api-for-business/docs/kusa-banana · Model page: https://kusart.com/api-for-business/models/kusa-flash

## Request example

Replace the prompt and any REPLACE_WITH_ placeholders before sending.

```bash
curl -X POST "https://api.kusa.pics/api/go/b2b/tasks/create" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $KUSART_API_KEY" \
  -H "User-Agent: my-app/1.0 (+https://example.com)" \
  -d '{
  "task_type": "API_TEXT_TO_IMAGE",
  "params": {
    "model": "nano",
    "prompt": "A collectible anime figure, product photography, soft studio light",
    "watermark": false
  }
}'
```

## Parameters (`params`)

| Field | Type | Required | Example value | Description |
| --- | --- | --- | --- | --- |
| `prompt` | string | yes | "A collectible anime figure, product photography, soft studio light" | Prompt text. Required unless prompt_template_id is provided. |
| `model` | string | no | "nano" | nano = Nano Banana; nano2 = Nano Banana 2; pro = Nano Banana Pro |
| `watermark` | boolean | no | false | Add a watermark; omitted defaults to false (no watermark). |
| `prompt_template_id` | integer | no | — | Prompt template ID. Can be combined with prompt. |
| `input_image_urls` | array | no | — | Previously uploaded or CDN image paths. |
| `b64_images` | array | no | — | Base64 reference images for new uploads. |

## Versions and pricing

Base rates exclude quantity, video duration and reference-media surcharges. Final charges are determined by the server.

### Nano Banana

- Version params: `model: "nano"`
- For fast image generation, editing, and character merchandise style transformations. Base tier for image generation and editing. Tags: Image editing, Multi-image reference, Great value.
- Starting price: 40 credits / image
- Reference file for this version only: https://kusart.com/api-for-business/models/kusa-flash/standard/llms.txt

| Tier | Sizes / spec | Credits | Unit | Set these params |
| --- | --- | --- | --- | --- |
| Nano Banana | nano | 40 | credits / image | `model: "nano"` |

### Nano Banana 2

- Version params: `model: "nano2"`
- For fast image generation, editing, and character merchandise style transformations. Version 2 for image generation and editing. Tags: Image editing, Multi-image reference, Upgraded quality.
- Starting price: 80 credits / image
- Reference file for this version only: https://kusart.com/api-for-business/models/kusa-flash/2/llms.txt

| Tier | Sizes / spec | Credits | Unit | Set these params |
| --- | --- | --- | --- | --- |
| Nano Banana 2 | nano2 | 80 | credits / image | `model: "nano2"` |

### Nano Banana Pro

- Version params: `model: "pro"`
- For fast image generation, editing, and character merchandise style transformations. Pro tier for image generation and editing. Tags: Image editing, Clear text in images, Most reliable quality.
- Starting price: 160 credits / image
- Reference file for this version only: https://kusart.com/api-for-business/models/kusa-flash/pro/llms.txt

| Tier | Sizes / spec | Credits | Unit | Set these params |
| --- | --- | --- | --- | --- |
| Nano Banana Pro | pro | 160 | credits / image | `model: "pro"` |

## Notes

- Asynchronous JSON task. Submit once, keep task_id, then poll /tasks/get.
- Set amount (or count) explicitly. Some models generate more than one image when it is omitted.
- API key requests get no watermark unless you send watermark: true (omitted watermark means false).

---

# Kusa-Unlimited

> Image-to-video for specialized motions, with first- and last-frame inputs.

- task_type: `LTX_IMAGE_TO_VIDEO`
- Output: video
- Inputs: First / last frames
- Create: `POST https://api.kusa.pics/api/go/b2b/tasks/create`, then poll `POST https://api.kusa.pics/api/go/b2b/tasks/get`. Headers, polling, errors and spending rules: https://kusart.com/llms.txt
- Docs page: https://kusart.com/api-for-business/docs/kusa-unlimited · Model page: https://kusart.com/api-for-business/models/kusa-unlimited

## Request example

Replace the prompt and any REPLACE_WITH_ placeholders before sending.

```bash
curl -X POST "https://api.kusa.pics/api/go/b2b/tasks/create" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $KUSART_API_KEY" \
  -H "User-Agent: my-app/1.0 (+https://example.com)" \
  -d '{
  "task_type": "LTX_IMAGE_TO_VIDEO",
  "params": {
    "fps": 24,
    "height": 480,
    "image_url": "REPLACE_WITH_IMAGE_URL",
    "num_frames": 121,
    "prompt": "gentle character motion, steady framing, preserve the original illustration style",
    "resolution": "480p",
    "watermark": false,
    "width": 832
  }
}'
```

## Parameters (`params`)

| Field | Type | Required | Example value | Description |
| --- | --- | --- | --- | --- |
| `prompt` | string | yes | "gentle character motion, steady framing, preserve the original illustration style" | Provide prompt or an existing prompt_template_id. |
| `negative_prompt` | string | no | — | Negative prompt. |
| `seed` | integer | no | — | Random seed. |
| `watermark` | boolean | no | false | Add a watermark; omitted defaults to false (no watermark). |
| `resolution` | string | no | "480p" | Set width and height explicitly. resolution affects billing, not output pixels. Duration is controlled by num_frames and fps. |
| `image_url` | string | no | "REPLACE_WITH_IMAGE_URL" | Accessible input image URL. |
| `image_storage_path` | string | no | — | Previously uploaded or CDN image paths. |
| `last_image_url` | string | no | — | Optional last-frame image URL. |
| `num_frames` | integer | no | 121 | 121 / 24 fps ≈ 5 s; 4k+1. |
| `fps` | integer | no | 24 | Frames per second. |
| `width` | integer | no | 832 | Output width and height in pixels. |
| `height` | integer | no | 480 | Output width and height in pixels. |

## Pricing

Base rates exclude quantity, video duration and reference-media surcharges. Final charges are determined by the server.

| Tier | Resolution | Credits | Unit | Set these params | Duration |
| --- | --- | --- | --- | --- | --- |
| Kusa-Unlimited | 480p | 10 | credits / second of output | `resolution: "480p"` | 5-30 s |
| Kusa-Unlimited | 720p | 20 | credits / second of output | `resolution: "720p"` | 5-30 s |
| Kusa-Unlimited | 1080p | 40 | credits / second of output | `resolution: "1080p"` | 5-30 s |

## Notes

- Asynchronous JSON task. Submit once, keep task_id, then poll /tasks/get.
- Set width and height explicitly. resolution affects billing, not output pixels. Duration is controlled by num_frames and fps.
- Cost = credits per second x duration in seconds; for example 5 s at 480p costs 50 credits.
- API key requests get no watermark unless you send watermark: true (omitted watermark means false).

---

# MiniMax H3

> Expressive character motion with audio.

- task_type: `IMAGE_TO_VIDEO_MINIMAX_H3`
- Output: video
- Inputs: Frames / reference mode
- Create: `POST https://api.kusa.pics/api/go/b2b/tasks/create`, then poll `POST https://api.kusa.pics/api/go/b2b/tasks/get`. Headers, polling, errors and spending rules: https://kusart.com/llms.txt
- Docs page: https://kusart.com/api-for-business/docs/kusa-motion · Model page: https://kusart.com/api-for-business/models/kusa-motion

## Request example

Replace the prompt and any REPLACE_WITH_ placeholders before sending.

```bash
curl -X POST "https://api.kusa.pics/api/go/b2b/tasks/create" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $KUSART_API_KEY" \
  -H "User-Agent: my-app/1.0 (+https://example.com)" \
  -d '{
  "task_type": "IMAGE_TO_VIDEO_MINIMAX_H3",
  "params": {
    "duration": 5,
    "fast_generation": false,
    "image_url": "REPLACE_WITH_IMAGE_URL",
    "prompt": "gentle camera push, natural character expression, hair moving softly",
    "ratio": "adaptive",
    "resolution": "480P",
    "role_mode": "frame",
    "watermark": false
  }
}'
```

## Parameters (`params`)

| Field | Type | Required | Example value | Description |
| --- | --- | --- | --- | --- |
| `prompt` | string | no | "gentle camera push, natural character expression, hair moving softly" | Provide prompt or an existing prompt_template_id. |
| `fast_generation` | boolean | no | false | false = MiniMax H3; true = MiniMax H3 Max |
| `watermark` | boolean | no | false | Add a watermark; omitted defaults to false (no watermark). |
| `duration` | number | no | 5 | Recommended 5–15 s. Normal mode accepts 4–15 s; fast_generation requires 5–15 s. |
| `resolution` | string | no | "480P" | Resolution tier. 480P / 768P / 2K; fast_generation: 480P / 768P. |
| `count` | integer | no | — | Number of videos to generate, 1–10; each video is billed separately. |
| `ratio` | string | yes | "adaptive" | adaptive, 21:9, 16:9, 4:3, 1:1, 3:4, or 9:16. |
| `image_url` | string | yes | "REPLACE_WITH_IMAGE_URL" | Accessible input image URL. |
| `images` | array | no | — | Additional reference image URLs. Use images, not image_urls, in JSON. |
| `role_mode` | string | no | "frame" | frame = first/last frame; reference = references. In frame mode use 1–2 images and no video/audio references. |
| `reference_video_urls` | array | no | — | Reference video URLs; up to 3 for MiniMax H3. |
| `reference_audio_urls` | array | no | — | Reference audio URLs; for MiniMax H3, also provide image or video references. |
| `end_frame_image_url` | string | no | — | Optional last-frame image URL. |
| `end_frame_role` | string | no | — | last_frame / reference_image |
| `prompt_template_id` | integer | no | — | Existing prompt template ID. |

## Versions and pricing

Base rates exclude quantity, video duration and reference-media surcharges. Final charges are determined by the server.

### MiniMax H3

- Version params: `fast_generation: false`
- Expressive character motion with audio. The standard tier: 4–15 second clips up to 2K, with first & last frame or image, video and audio references. Tags: Semantic understanding, Up to 2K, With audio.
- Starting price: 50 credits / second of output
- Reference file for this version only: https://kusart.com/api-for-business/models/kusa-motion/standard/llms.txt

| Tier | Resolution | Credits | Unit | Set these params | Duration |
| --- | --- | --- | --- | --- | --- |
| MiniMax H3 | 480P | 50 | credits / second of output | `fast_generation: false`, `resolution: "480P"` | 4-15 s |
| MiniMax H3 | 768P | 120 | credits / second of output | `fast_generation: false`, `resolution: "768P"` | 4-15 s |
| MiniMax H3 | 2K | 180 | credits / second of output | `fast_generation: false`, `resolution: "2K"` | 4-15 s |

### MiniMax H3 Max

- Version params: `fast_generation: true`
- Expressive character motion with audio. Generates faster: 5–15 second clips up to 768P. First & last frame only. Tags: Videos in seconds, Up to 768P, With audio.
- Starting price: 75 credits / second of output
- Reference file for this version only: https://kusart.com/api-for-business/models/kusa-motion/max/llms.txt

| Tier | Resolution | Credits | Unit | Set these params | Duration |
| --- | --- | --- | --- | --- | --- |
| MiniMax H3 Max | 480P | 75 | credits / second of output | `fast_generation: true`, `resolution: "480P"` | 5-15 s |
| MiniMax H3 Max | 768P | 120 | credits / second of output | `fast_generation: true`, `resolution: "768P"` | 5-15 s |

## Notes

- Asynchronous JSON task. Submit once, keep task_id, then poll /tasks/get.
- frame = first/last frame; reference = references. In frame mode use 1–2 images and no video/audio references. MiniMax H3 frame: ratio=adaptive.
- This example uses a first frame. Supply an image URL. For text-to-video, adjust role_mode and ratio in advanced JSON.
- Cost = credits per second x duration in seconds; for example 5 s at 480P costs 250 credits.
- API key requests get no watermark unless you send watermark: true (omitted watermark means false).

---

# Kusa-Dance

> Upload a character image and a dance or motion video, and the character performs the same dance. 720p / 1080p.

- task_type: `VIDEO_TO_VIDEO_ANIMATE`
- Output: video
- Inputs: Character image + reference video
- Create: `POST https://api.kusa.pics/api/go/b2b/tasks/video_to_video/animate` as multipart/form-data (not /tasks/create, no task_type), then poll `POST https://api.kusa.pics/api/go/b2b/tasks/get`. Headers, polling, errors and spending rules: https://kusart.com/llms.txt
- Docs page: https://kusart.com/api-for-business/docs/kusa-dance · Model page: https://kusart.com/api-for-business/models/kusa-dance

## Request example

Replace the REPLACE_WITH_ placeholders before sending. Each parameter is one form field.

```bash
curl -X POST "https://api.kusa.pics/api/go/b2b/tasks/video_to_video/animate" \
  -H "X-API-Key: $KUSART_API_KEY" \
  -H "User-Agent: my-app/1.0 (+https://example.com)" \
  -F 'image_url=REPLACE_WITH_IMAGE_URL' \
  -F 'resolution=720p' \
  -F 'video_url=REPLACE_WITH_VIDEO_URL' \
  -F 'watermark=false'
```

## Parameters (form fields)

| Field | Type | Required | Example value | Description |
| --- | --- | --- | --- | --- |
| `prompt` | string | yes | — | Prompt text. |
| `watermark` | boolean | no | false | Add a watermark; omitted means false on this endpoint. |
| `resolution` | string | no | "720p" | 720p (default, 20 credits/s, keeps up to 30 s) or 1080p (40 credits/s, up to 10 s). |
| `image_url` | string | no | "REPLACE_WITH_IMAGE_URL" | Character image URL (public HTTPS). Or send the file in form field image. |
| `video_url` | string | no | "REPLACE_WITH_VIDEO_URL" | Reference dance or motion video URL. Output length and price follow its length. Or send the file in form field video. |
| `video` | file | no | — | Reference dance or motion video URL. Output length and price follow its length. Or send the file in form field video. |
| `image` | file | no | — | Character image URL (public HTTPS). Or send the file in form field image. |
| `template_id` | integer | no | — | Site dance template ID; can replace video_url. |

## Pricing

Base rates exclude quantity, video duration and reference-media surcharges. Final charges are determined by the server.

| Tier | Resolution | Credits | Unit | Set these params | Duration |
| --- | --- | --- | --- | --- | --- |
| Kusa-Dance | 720p | 20 | credits / second of output | `resolution: "720p"` | 1-30 s |
| Kusa-Dance | 1080p | 40 | credits / second of output | `resolution: "1080p"` | 1-10 s |

## Notes

- Submit multipart/form-data to POST /api/go/b2b/tasks/video_to_video/animate, not /tasks/create. No task_type, no JSON body. Poll the returned task_id with /tasks/get.
- Reference dances: POST https://api.kusa.pics/api/go/dancing/templates/list with body {} (no key needed); use a template's display_video as video_url.
- The output keeps the reference video's audio. The form has no prompt field.
- Instead of URLs you can upload files in the same request: form field image (JPG / PNG / WebP, up to 10 MB) and video (MP4 / MOV / AVI / WebM, up to 100 MB).
- Output length follows the reference video (measured by the server, rounded up to whole seconds). 720p keeps up to 30 s and 1080p up to 10 s of the reference; the rest is cut off.
- Cost = credits per second x reference length in seconds. 720p is billed for at most 15 s (300 credits) and 1080p for at most 10 s (400 credits); for example a 6 s reference at 720p costs 120 credits.

---

# Seedance 2.0

> Create video with image, video, and audio references. Audio output supported.

- task_type: `IMAGE_TO_VIDEO_SEEDANCE2`
- Output: video
- Inputs: Frames / reference mode
- Create: `POST https://api.kusa.pics/api/go/b2b/tasks/create`, then poll `POST https://api.kusa.pics/api/go/b2b/tasks/get`. Headers, polling, errors and spending rules: https://kusart.com/llms.txt
- Docs page: https://kusart.com/api-for-business/docs/kusa-video · Model page: https://kusart.com/api-for-business/models/kusa-video

## Request example

Replace the prompt and any REPLACE_WITH_ placeholders before sending.

```bash
curl -X POST "https://api.kusa.pics/api/go/b2b/tasks/create" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $KUSART_API_KEY" \
  -H "User-Agent: my-app/1.0 (+https://example.com)" \
  -d '{
  "task_type": "IMAGE_TO_VIDEO_SEEDANCE2",
  "params": {
    "duration": 5,
    "image_url": "REPLACE_WITH_IMAGE_URL",
    "model": "FastX",
    "prompt": "cinematic character entrance, smooth camera movement, expressive animation",
    "ratio": "adaptive",
    "resolution": "480p",
    "role_mode": "frame",
    "watermark": false
  }
}'
```

## Parameters (`params`)

| Field | Type | Required | Example value | Description |
| --- | --- | --- | --- | --- |
| `prompt` | string | no | "cinematic character entrance, smooth camera movement, expressive animation" | Provide prompt or an existing prompt_template_id. |
| `model` | string | no | "FastX" | FastX = Seedance 2.0 Fast; ProX = Seedance 2.0 Pro; Seedance2.5 = Seedance 2.5; Mini = Seedance 2.0 Mini |
| `watermark` | boolean | no | false | Add a watermark; omitted defaults to false (no watermark). |
| `duration` | number | no | 5 | Duration in seconds: 4–15 for Seedance 2.0 Fast / Pro, 4–30 for Seedance 2.5. |
| `resolution` | string | no | "480p" | Resolution tier: 480p / 720p / 1080p. |
| `count` | integer | no | — | Number of videos to generate, 1–10; each video is billed separately. |
| `ratio` | string | no | "adaptive" | 16:9 / 4:3 / 1:1 / 3:4 / 9:16 / 21:9 / adaptive |
| `image_url` | string | yes | "REPLACE_WITH_IMAGE_URL" | Accessible input image URL. |
| `images` | array | no | — | Additional reference image URLs. Use images, not image_urls, in JSON. |
| `role_mode` | string | no | "frame" | frame = first/last frame; reference = references. In frame mode use 1–2 images and no video/audio references. |
| `reference_video_urls` | array | no | — | Reference video URLs: up to 3 for Seedance 2.0 Fast / Pro, up to 10 for Seedance 2.5. |
| `reference_audio_urls` | array | no | — | Reference audio URLs. Seedance 2.0 Fast / Pro also need image or video references; Seedance 2.5 accepts audio on its own. |
| `end_frame_image_url` | string | no | — | Optional last-frame image URL. |
| `end_frame_role` | string | no | — | last_frame / reference_image |
| `audio` | boolean | no | — | ProFast produces silent video only; omit audio or set it to false. |
| `prompt_template_id` | integer | no | — | Existing prompt template ID. |
| `framespersecond` | integer | no | — | Frames per second. 12–60. |

## Versions and pricing

Base rates exclude quantity, video duration and reference-media surcharges. Final charges are determined by the server.

### Seedance 2.0 Fast

- Version params: `model: "FastX"`
- Create video with image, video, and audio references. Audio output supported. The quickest, most affordable tier in the Seedance 2.0 series. Ideal for drafts and high-volume clips of 4–15 seconds. Tags: Multimodal references, Optional audio, Great value.
- Starting price: 100 credits / second of output
- Reference file for this version only: https://kusart.com/api-for-business/models/kusa-video/fast/llms.txt

| Tier | Resolution | Credits | Unit | Set these params | Duration |
| --- | --- | --- | --- | --- | --- |
| Seedance 2.0 Fast | 480p | 100 | credits / second of output | `model: "FastX"`, `resolution: "480p"` | 4-15 s |
| Seedance 2.0 Fast | 720p | 200 | credits / second of output | `model: "FastX"`, `resolution: "720p"` | 4-15 s |
| Seedance 2.0 Fast | 1080p | 500 | credits / second of output | `model: "FastX"`, `resolution: "1080p"` | 4-15 s |

### Seedance 2.0 Pro

- Version params: `model: "ProX"`
- Create video with image, video, and audio references. Audio output supported. More consistent quality and finer detail than Fast, built for final cuts of 4–15 seconds. Tags: Multimodal references, Optional audio, Most reliable quality.
- Starting price: 125 credits / second of output
- Reference file for this version only: https://kusart.com/api-for-business/models/kusa-video/pro/llms.txt

| Tier | Resolution | Credits | Unit | Set these params | Duration |
| --- | --- | --- | --- | --- | --- |
| Seedance 2.0 Pro | 480p | 125 | credits / second of output | `model: "ProX"`, `resolution: "480p"` | 4-15 s |
| Seedance 2.0 Pro | 720p | 250 | credits / second of output | `model: "ProX"`, `resolution: "720p"` | 4-15 s |
| Seedance 2.0 Pro | 1080p | 625 | credits / second of output | `model: "ProX"`, `resolution: "1080p"` | 4-15 s |

### Seedance 2.0 Mini

- Version params: `model: "Mini"`
- Create video with image, video, and audio references. Audio output supported. The lowest-cost tier in the Seedance 2.0 series: 480p or 720p, 4–15 seconds, with image, video and audio references. Tags: Multimodal references, Optional audio, Low cost.
- Starting price: 30 credits / second of output
- Reference file for this version only: https://kusart.com/api-for-business/models/kusa-video/mini/llms.txt

| Tier | Resolution | Credits | Unit | Set these params | Duration |
| --- | --- | --- | --- | --- | --- |
| Seedance 2.0 Mini | 480p | 30 | credits / second of output | `model: "Mini"`, `resolution: "480p"` | 4-15 s |
| Seedance 2.0 Mini | 720p | 65 | credits / second of output | `model: "Mini"`, `resolution: "720p"` | 4-15 s |

## Notes

- Asynchronous JSON task. Submit once, keep task_id, then poll /tasks/get.
- Video reference duration may also be billed.
- This example uses a first frame. Supply an image URL. For text-to-video, adjust role_mode and ratio in advanced JSON.
- Cost = credits per second x duration in seconds; for example 5 s at 480p costs 500 credits.
- API key requests get no watermark unless you send watermark: true (omitted watermark means false).

---

# Seedance 2.5

> Our longest clips, up to 30 seconds, with up to 10 reference videos or audio files. Audio output supported.

- task_type: `IMAGE_TO_VIDEO_SEEDANCE2`
- Output: video
- Inputs: Frames / reference mode
- Other models share this task_type. Keep `model: "Seedance2.5"` in params.
- Create: `POST https://api.kusa.pics/api/go/b2b/tasks/create`, then poll `POST https://api.kusa.pics/api/go/b2b/tasks/get`. Headers, polling, errors and spending rules: https://kusart.com/llms.txt
- Docs page: https://kusart.com/api-for-business/docs/kusa-video · Model page: https://kusart.com/api-for-business/models/kusa-video-ultra

## Request example

Replace the prompt and any REPLACE_WITH_ placeholders before sending.

```bash
curl -X POST "https://api.kusa.pics/api/go/b2b/tasks/create" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $KUSART_API_KEY" \
  -H "User-Agent: my-app/1.0 (+https://example.com)" \
  -d '{
  "task_type": "IMAGE_TO_VIDEO_SEEDANCE2",
  "params": {
    "duration": 5,
    "image_url": "REPLACE_WITH_IMAGE_URL",
    "model": "Seedance2.5",
    "prompt": "cinematic character entrance, smooth camera movement, expressive animation",
    "ratio": "adaptive",
    "resolution": "480p",
    "role_mode": "frame",
    "watermark": false
  }
}'
```

## Parameters (`params`)

| Field | Type | Required | Example value | Description |
| --- | --- | --- | --- | --- |
| `prompt` | string | no | "cinematic character entrance, smooth camera movement, expressive animation" | Provide prompt or an existing prompt_template_id. |
| `model` | string | no | "Seedance2.5" | FastX = Seedance 2.0 Fast; ProX = Seedance 2.0 Pro; Seedance2.5 = Seedance 2.5; Mini = Seedance 2.0 Mini |
| `watermark` | boolean | no | false | Add a watermark; omitted defaults to false (no watermark). |
| `duration` | number | no | 5 | Duration in seconds: 4–15 for Seedance 2.0 Fast / Pro, 4–30 for Seedance 2.5. |
| `resolution` | string | no | "480p" | Resolution tier: 480p / 720p / 1080p. |
| `count` | integer | no | — | Number of videos to generate, 1–10; each video is billed separately. |
| `ratio` | string | no | "adaptive" | 16:9 / 4:3 / 1:1 / 3:4 / 9:16 / 21:9 / adaptive |
| `image_url` | string | yes | "REPLACE_WITH_IMAGE_URL" | Accessible input image URL. |
| `images` | array | no | — | Additional reference image URLs. Use images, not image_urls, in JSON. |
| `role_mode` | string | no | "frame" | frame = first/last frame; reference = references. In frame mode use 1–2 images and no video/audio references. |
| `reference_video_urls` | array | no | — | Reference video URLs: up to 3 for Seedance 2.0 Fast / Pro, up to 10 for Seedance 2.5. |
| `reference_audio_urls` | array | no | — | Reference audio URLs. Seedance 2.0 Fast / Pro also need image or video references; Seedance 2.5 accepts audio on its own. |
| `end_frame_image_url` | string | no | — | Optional last-frame image URL. |
| `end_frame_role` | string | no | — | last_frame / reference_image |
| `audio` | boolean | no | — | ProFast produces silent video only; omit audio or set it to false. |
| `prompt_template_id` | integer | no | — | Existing prompt template ID. |
| `framespersecond` | integer | no | — | Frames per second. 12–60. |

## Pricing

Base rates exclude quantity, video duration and reference-media surcharges. Final charges are determined by the server.

| Tier | Resolution | Credits | Unit | Set these params | Duration |
| --- | --- | --- | --- | --- | --- |
| Seedance 2.5 | 480p | 200 | credits / second of output | `model: "Seedance2.5"`, `resolution: "480p"` | 4-30 s |
| Seedance 2.5 | 720p | 400 | credits / second of output | `model: "Seedance2.5"`, `resolution: "720p"` | 4-30 s |
| Seedance 2.5 | 1080p | 1000 | credits / second of output | `model: "Seedance2.5"`, `resolution: "1080p"` | 4-30 s |

## Notes

- Asynchronous JSON task. Submit once, keep task_id, then poll /tasks/get.
- Video reference duration may also be billed.
- This example uses a first frame. Supply an image URL. For text-to-video, adjust role_mode and ratio in advanced JSON.
- Cost = credits per second x duration in seconds; for example 5 s at 480p costs 1000 credits.
- API key requests get no watermark unless you send watermark: true (omitted watermark means false).
