{"openapi":"3.1.0","info":{"title":"ArgonautWorks Product Image API","version":"0.3.0","description":"A commercial-safe image generation service for one everyday object, still life, landscape, interior, animal, or abstract composition as a private 768x768 PNG using local CPU inference.","license":{"name":"MIT","identifier":"MIT"},"contact":{"name":"ArgonautWorks","url":"https://github.com/ArgonautWorks/product-image-api"},"x-guidance":"Fixed scope: one supported commercial-safe subject or scene; no people, identities, brands, lettering, regulated goods, weapons, sensitive content, or external references."},"servers":[{"url":"https://product-image-api-delta.vercel.app"}],"paths":{"/api/v1/images":{"get":{"operationId":"describeProductImagePurchase","summary":"Read free machine-readable purchase instructions","security":[],"responses":{"200":{"description":"Purchase method, input schema, price, and discovery links"}}},"post":{"operationId":"createCommercialSafeImage","summary":"Generate one commercial-safe private 768px PNG","tags":["Image generation"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.02"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","minLength":12,"maxLength":600}},"additionalProperties":false},"example":{"prompt":"Matte terracotta reusable bottle on a sand pedestal with a deep teal studio backdrop"}}}},"responses":{"202":{"description":"Job queued; access token returned once"},"400":{"description":"Invalid or out-of-scope prompt; no charge"},"402":{"description":"x402 Base-USDC payment challenge"},"429":{"description":"Unpaid request rate limit"},"502":{"description":"Facilitator or worker unavailable; no challenge when detected pre-payment"},"503":{"description":"Queue unavailable or full; no challenge when detected pre-payment"}}}},"/api/v1/images/{jobId}":{"get":{"operationId":"getProductImageStatus","summary":"Read private asynchronous job status","security":[{"apiKey":[]}],"parameters":[{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Job status"},"401":{"description":"Token required or invalid"},"404":{"description":"Unknown job"}}}},"/api/v1/images/{jobId}/file":{"get":{"operationId":"downloadProductImage","summary":"Download the completed private PNG","security":[{"apiKey":[]}],"parameters":[{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"768x768 PNG","content":{"image/png":{"schema":{"type":"string","contentEncoding":"binary"}}}},"401":{"description":"Token required or invalid"},"409":{"description":"Image not ready"}}}},"/a2a":{"post":{"operationId":"sendProductImageDiscoveryA2aMessage","summary":"Return purchase guidance without queuing or payment initialization","security":[],"responses":{"200":{"description":"Free discovery response"}}}}},"components":{"securitySchemes":{"apiKey":{"type":"apiKey","in":"header","name":"Authorization","description":"Use the opaque job token as Authorization: Bearer <access_token>."}}}}