Generate SVG artwork
generate_illustrationGenerate professional, editable SVG artwork from a text prompt: illustrations, icons, stickers and mascot scenes. The result is real vector paths with a transparent background, not an embedded bitmap. Returns a task that processes asynchronously, so call wait_for_task with the returned id to get the result. Pass mascot_id (from list_mascots) to keep a consistent character across scenes. Costs 4 credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | What to draw, in plain language | |
| mascot_id | No | Optional mascot id; the character appears consistently in the scene | |
| aspect_ratio | No | auto | |
| no_background | No | Return only the subject on a transparent background |