{"uid":"cap_Mfn_xPQTqQ3nPFwv4o8IW","slug":"fastapi-online-poem-generator-a4e114fc","name":"fastapi.online Poem Generator","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/poem-generate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"style":{"type":"string","maxLength":100,"minLength":1},"topic":{"type":"string","maxLength":500,"minLength":1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_05ffZibElPB2h7pLSgQmU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a poem on a given topic in a specified style using self-hosted AI inference","exampleAgentPrompt":"Can you write me a poem about the changing seasons in a melancholy, introspective style?","exampleUseCases":[{"title":"Birthday greeting poem generator","prompt":"Write me a short funny poem about turning 40 for my friend's birthday card — keep it lighthearted and humorous in style."},{"title":"Nature poetry for blog post","prompt":"I'm writing a blog about hiking — can you compose a free verse poem about mountain sunrises to include at the top of the post?"},{"title":"Romantic poem for anniversary","prompt":"Write me a romantic poem about falling in love, suitable to read aloud at our wedding anniversary dinner — something heartfelt and classic in style."}],"resultDescription":"Returns a generated poem as text, composed by a self-hosted AI model based on the provided topic and style inputs. The response is a creative, original piece tailored to the specified parameters.","failureModes":["Missing required 'topic' or 'style' fields returns a validation error","Topic or style string exceeding maxLength limits (500 and 100 chars respectively) may be rejected","Payment failure or insufficient USDC balance results in 402 Payment Required","Self-hosted model downtime may result in 503 Service Unavailable","Extremely vague topics may yield generic or low-quality output"],"whenToPreferThis":"Choose this endpoint when you need a quick, low-cost ($0.001 USDC per call), no-signup poem generation with style control. It is ideal for agents that need to generate creative poetry on demand without API key friction, especially in crypto-native or x402-payment-enabled workflows. Prefer it over large-platform LLM calls when cost-per-call minimization and pay-as-you-go crypto billing are priorities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:09:29.406Z","isFirstParty":false}