{"openapi":"3.1.0","info":{"title":"printmoney.ai promo videos","version":"1.0.0","description":"printmoney.ai makes 3 short promo videos for a product, free, one try per email per day. Call make_promo_videos with the product's website (or a sentence about it) and the person's email, then promo_video_status every 30 seconds until settled is true. Nothing is posted anywhere: hand the person the links. The same tools as MCP, without a key: https://app.printmoney.ai/mcp/free. About this API: https://app.printmoney.ai/agents."},"servers":[{"url":"https://app.printmoney.ai"}],"paths":{"/api/v1/videos":{"post":{"operationId":"makePromoVideos","summary":"Make 3 promo videos for a product","description":"Starts making 3 short promo videos for a product, free. Give product_url (its website) or description (what it is, who buys it), and the person's email. Returns at once. Poll the status every 30 seconds; videos appear as they finish (about 10 minutes in all).","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoRequest"},"examples":{"site":{"summary":"A website","value":{"product_url":"https://yourproduct.com","email":"you@example.com"}},"words":{"summary":"No website","value":{"description":"A Notion template that plans weddings, for couples doing it themselves.","email":"you@example.com"}}}}}},"responses":{"202":{"description":"Started. Poll status_url.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Started"}}}},"400":{"description":"The body is not right: the error says which field.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"A free limit was hit: one try per email per 24 hours, five per network per hour, and a daily cap. The error says which and when to come back.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Not taking tries right now. Try again later.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/videos/{job_id}":{"get":{"operationId":"getPromoVideos","summary":"Where a promo video job is","description":"Where a promo video job is. Poll every 30 seconds until settled is true. Each video has a hook, caption and reply, and a url (MP4) and poster_url (PNG) once rendered. Then give the person the video urls, and results_url for the whole kit.","parameters":[{"name":"job_id","in":"path","required":true,"description":"The job_id make_promo_videos returned.","schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{22}$"}}],"responses":{"200":{"description":"The job.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"404":{"description":"No job with that id.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}}},"components":{"schemas":{"VideoRequest":{"type":"object","required":["email"],"description":"product_url or description, one of them, plus email.","properties":{"product_url":{"type":"string","maxLength":500,"description":"The product's public website, like https://yourproduct.com. Give this or description, not both."},"description":{"type":"string","minLength":12,"maxLength":600,"description":"One or two sentences: what the product is and who buys it, 12 to 600 characters. Use it when there is no website."},"email":{"type":"string","format":"email","maxLength":254,"description":"The email of the person asking. We send them the link when the videos are ready, then two short follow-ups; one click stops them. One free try per email per 24 hours."}}},"Started":{"type":"object","required":["job_id","status_url","results_url","estimated_minutes"],"properties":{"job_id":{"type":"string"},"status_url":{"type":"string","format":"uri","description":"GET it every 30 seconds."},"results_url":{"type":"string","format":"uri","description":"A page for the person: progress, then the videos, captions and replies. Fine to share."},"estimated_minutes":{"type":"integer","description":"Usual time to the last video, once the job starts."},"status":{"type":"string","enum":["queued"]},"opening_soon":{"type":"boolean","description":"true: we are not open yet; the job waits in line and starts by itself when we open."},"next":{"type":"string","description":"What to do now."}}},"Job":{"type":"object","required":["id","status","progress","videos","settled"],"properties":{"id":{"type":"string"},"status":{"type":"string","enum":["queued","working","done","failed"],"description":"queued: in line. working: researching and writing, then rendering. done: scripts are final; videos may still be rendering. failed: see error."},"progress":{"type":"string","description":"One line in plain words, like \"Writing 3 scripts…\"."},"opening_soon":{"type":"boolean","description":"true while queued and we are not open yet."},"settled":{"type":"boolean","description":"true when nothing will change: stop polling."},"input":{"type":"object","description":"What was asked for.","properties":{"url":{"type":"string"},"description":{"type":"string"}}},"brief":{"type":["object","null"],"description":"What we learned about the product.","properties":{"product_name":{"type":"string"},"one_line":{"type":"string"},"who_buys":{"type":"string"},"problem":{"type":"string"}}},"phrases":{"type":"array","description":"What buyers say, word for word, with where it was said.","items":{"type":"object","properties":{"phrase":{"type":"string"},"source":{"type":"string"},"link":{"type":"string","format":"uri"},"comments":{"type":["integer","null"]}}}},"videos":{"type":"array","items":{"$ref":"#/components/schemas/Video"}},"error":{"type":["string","null"],"description":"When failed: plain words for the person."},"sig":{"type":"string","description":"Internal: changes when the results page should redraw. Ignore it."}}},"Video":{"type":"object","properties":{"slot":{"type":"integer","minimum":1,"maximum":3},"title":{"type":"string"},"hook":{"type":"string","description":"The first line on screen."},"caption":{"type":"string","description":"The caption to post with it."},"reply":{"type":"string","description":"What to reply when someone comments."},"status":{"type":"string","enum":["waiting","queued","rendering","done","failed"]},"url":{"type":["string","null"],"format":"uri","description":"The MP4, once done."},"poster_url":{"type":["string","null"],"format":"uri","description":"Its first frame, PNG."},"duration":{"type":["number","null"],"description":"Seconds."}}},"Error":{"type":"object","required":["error","code"],"properties":{"error":{"type":"string","description":"Plain words to pass on to the person."},"code":{"type":"string","description":"invalid | email (this email already had a try in the last 24 hours) | ip (too many tries from this network in the last hour) | day (full for today) | unconfigured | not_found"}}}}}}