{"uid":"cap_tEvu892FIzLARkoloH2nT","slug":"shirt-sh-ai-shirt-design-purchase-417224ad","name":"shirt.sh AI Shirt Design & Purchase","description":"AI-generated shirt design + purchase","url":"https://shirt.sh/api/shirts","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"size":{"enum":["S","M","L","XL","2XL","3XL","4XL","5XL"],"type":"string"},"color":{"enum":["Black","White"],"type":"string"},"prompt":{"type":"string"},"address_to":{"type":"object"}}},"responseSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["id","status"],"properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"enum":["queued","processing","failed","completed"],"type":"string"},"orderId":{"type":"string"},"imageUrl":{"type":"string","description":"HTTP/HTTPS URL or base64 data URL (data:image/...)"},"productId":{"type":"string"},"trackingInfo":{"anyOf":[{"type":"object","required":["carrier","trackingNumber","trackingUrl"],"properties":{"carrier":{"type":"string"},"trackingUrl":{"type":"string"},"trackingNumber":{"type":"string"}},"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"20","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":"$20/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"20","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"20","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5zWlY4vouaC_VImhDpGPg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"20","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a custom AI-designed shirt from a text prompt and places a purchase order for physical delivery","exampleAgentPrompt":"Order me a medium-sized white shirt from shirt.sh with an AI-generated design of a galaxy-surfing astronaut cat, and ship it to Jane Doe at 123 Main St, Brooklyn, NY 11201.","exampleUseCases":null,"resultDescription":"Returns a UUID order ID, order status (queued/processing/failed/completed), an image URL of the AI-generated shirt design, a product ID, an order ID, and optionally tracking info with carrier, tracking number, and tracking URL once the item ships.","failureModes":["Invalid or missing prompt — design generation fails with a failed status","Unsupported size or color value — order cannot be created","Incomplete shipping address — order placement fails","Payment of $20 USDC not received — request rejected","Downstream fulfillment failure — status returns failed with no tracking info","Malformed address_to object — validation error returned"],"whenToPreferThis":"Use this endpoint when you want to both generate and purchase a custom AI-designed shirt in a single API call. It handles the full loop from AI image generation to physical order placement and fulfillment, making it ideal for autonomous agents that need end-to-end merchandise creation without separate design and checkout steps.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:32:49.939Z","isFirstParty":false}