Generate 3D Avatar from Text (Paid)
generate_avatar_from_textPAID (x402, 5 USDC): generate a production 3D avatar from a text prompt — xAI concept image → TRELLIS.2 GPU mesh → full canonical post-process (repair/validate/export). Payment settles ONLY when generation completes; a failed generation is never charged. Returns a job_id — poll with the free get_generation_status tool (typical runtime 5-15 minutes). Pass idempotency_key when a retry is possible (timeout/5xx) — replaying the same key returns the original job_id instead of a second GPU job/charge. [Paid: $5.00 USDC via x402 for unauthenticated calls on the hosted /mcp endpoint; DEFERRED settlement — charged only when the generation job completes, a failed job is never charged. Poll get_generation_status (free).]
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "a friendly adventurer character, fantasy game hero",
"platform": "unity"
},
"name": "generate_avatar_from_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | What to generate (subject description) | |
| platform | No | Target engine (adds rigging + engine export) | |
| asset_kind | No | Asset taxonomy | |
| polygon_tier | No | Quality tier (defaults to the platform's configured tier) | |
| texture_size | No | Texture bake size in px (defaults per platform, else 2048) | |
| idempotency_key | No | Optional caller-chosen dedup key (<=200 chars, [A-Za-z0-9_.:-]). Replaying the same key (per payer) returns the original job_id — no new GPU job, no new charge. Use on any retry after a timeout/5xx. |