Generate 3D Avatar from Image (Paid)
generate_avatar_from_imagePAID (x402, 6 USDC): generate a production 3D avatar from a reference photo (base64) — xAI A-pose normalize → TRELLIS.2 GPU mesh → full canonical post-process. 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: $6.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).]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Optional style/subject hint alongside the image | |
| platform | No | Target engine (adds rigging + engine export) | |
| image_b64 | Yes | Base64-encoded reference image (PNG/JPEG) | |
| 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. |