{"uid":"cap_VqxCw3gz7_TRhQbr6Wy6p","slug":"fastapi-online-generate-avatar-1c924d63","name":"fastapi.online — Generate Avatar","description":"Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.","url":"https://api.fastapi.online/generate-avatar","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"seed":{"type":"integer"},"description":{"type":"string","maxLength":300,"minLength":1,"description":"the person/character"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.012","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.012/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Xmfnyq-H4gNPb6gcwdVwh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.012","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a unique avatar image from a text description of a person or character, with an optional seed for reproducibility.","exampleAgentPrompt":"Generate an avatar of a middle-aged male astronaut with a short beard and silver hair, use seed 42 so I can reproduce it later.","exampleUseCases":[{"title":"Profile picture for new user account","prompt":"Create an avatar of a friendly young woman with curly brown hair and glasses for a new user's profile picture, use seed 7 so we can regenerate it if needed."},{"title":"Game character portrait generator","prompt":"Generate an avatar of a fierce orc warrior with green skin, tusks, and battle scars — use seed 1337 so the image stays consistent across sessions."},{"title":"AI chatbot persona avatar","prompt":"Make an avatar of a cheerful robot with blue eyes and a silver body for my customer support chatbot persona, seed 100."}],"resultDescription":"Returns an avatar image (likely as binary image data or a URL) representing the described person or character, generated by a self-hosted AI image model. If a seed is provided, the same seed and description will reproduce the same avatar.","failureModes":["Description too short (minLength 1) or too long (maxLength 300) — validation error returned","Invalid seed type (must be integer) — schema validation error","Model inference failure or timeout — server error response","Payment not completed or insufficient USDC — 402 Payment Required response","Empty or missing description field — bad request error"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap ($0.012 USDC), pay-per-call avatar image generated from a text description with no signup required. It is ideal when reproducibility via seed is important, or when you want a self-hosted model rather than a cloud provider. Best for agents that need on-demand avatar generation as part of a workflow without managing API keys or subscriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:48:29.093Z","isFirstParty":false}