Generate Fictional Character Avatars
generate_avatarsGenerate 2 square (1024×1024) fictional character portraits from a text description in one of 8 art styles. Costs 4 credits (Standard) or 6 credits (HD for accounts that have purchased a pack). Enqueues asynchronously and returns jobId immediately — call get_job after ~5–10 seconds to get the 2 assetIds and signed image URLs. Requires Authorization: Bearer avs_...
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>",
"style": "<style>"
},
"name": "generate_avatars"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | Yes | Art style preset ID: anime, 3d-cartoon, pixel-art, realistic, professional-headshot, fantasy, watercolor, cyberpunk. | |
| prompt | Yes | Visual description of an original fictional character (3–500 chars), e.g. "weathered dwarven blacksmith with copper braids and glowing forge goggles". Avoid real people, celebrities, or explicit content. |