{"uid":"cap_8P_4c9R8b_KNjroAfcL9d","slug":"fastapi-online-generate-pattern-a4fa7f13","name":"fastapi.online Generate Pattern","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-pattern?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"seed":{"type":"integer"},"theme":{"type":"string","maxLength":300,"minLength":1,"description":"the pattern theme"}}},"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_dPAQ1W5hqtCpKTOZb6B0s","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 patterned design or visual motif based on a theme string and optional random seed","exampleAgentPrompt":"Generate a pattern with the theme 'tropical jungle' and use seed 42 so I can reproduce it later.","exampleUseCases":[{"title":"Branded wallpaper pattern for app","prompt":"Create a repeating pattern with the theme 'circuit board tech' using seed 7 — I want something I can use as a background in my developer dashboard."},{"title":"Fabric print design for e-commerce","prompt":"Generate a pattern themed around 'vintage floral bouquet' with seed 100 for a print-on-demand fabric design I'm selling in my shop."},{"title":"Reproducible pattern for game asset","prompt":"Make me a pattern with theme 'dark dungeon stone' and seed 999 so my game artist can regenerate the exact same texture every time."}],"resultDescription":"Returns a generated pattern or design artifact (likely image data, SVG, or structured pattern output) based on the provided theme text and optional integer seed for reproducibility.","failureModes":["Theme string too short or too long (violates minLength 1 / maxLength 300 constraint)","Seed value out of integer range","Payment not included or insufficient (HTTP 402 returned)","Model unavailable or server error (HTTP 500)","Empty or nonsensical theme producing low-quality or undefined output"],"whenToPreferThis":"Choose this endpoint when you need a quick, novelty or decorative pattern generated from a plain-text theme description, especially when reproducibility via a seed is important, and you want to pay per call without a subscription or signup. Prefer it for lightweight creative or developer tooling tasks rather than full image generation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T18:47:35.713Z","isFirstParty":false,"canonicalSlug":"fastapi-online-generate-pattern-a4fa7f13"}