Create post images (Postshot)
Draw post text as images that look like a Threads, X, or LinkedIn post and add them to your workspace media library.
curl -X POST "https://example.com/api/v1/media/postshots" \ -H "Content-Type: application/json" \ -d '{ "accountId": "11111111-1111-4111-8111-111111111111", "texts": [ "Three things we learned from our spring menu launch.", "Start small, ask regulars first, and share the process, not only the result." ] }'{ "style": "threads", "theme": "light", "background": "platform", "ratio": "4:5", "output": "images", "images": [ { "mediaId": "22222222-2222-4222-8222-222222222222", "fileName": "post_card_1795867200000_01.jpg", "mediaType": "IMAGE", "mimeType": "image/jpeg", "fileSize": 98765, "url": "https://media.example.com/post_card_1795867200000_01.jpg", "duration": null, "width": 1080, "height": 1350, "createdAt": "2026-11-28T12:00:00Z" }, { "mediaId": "33333333-3333-4333-8333-333333333333", "fileName": "post_card_1795867200000_02.jpg", "mediaType": "IMAGE", "mimeType": "image/jpeg", "fileSize": 87654, "url": "https://media.example.com/post_card_1795867200000_02.jpg", "duration": null, "width": 1080, "height": 1350, "createdAt": "2026-11-28T12:00:00Z" } ]}Draw post text as images that look like a Threads, X, or LinkedIn post, the same way as Postshot in the Posteady post editor: the account's name and profile photo appear above the text on a plain background. Each text becomes one image, or several images when it is long, and every image uses the same font size. One request can make up to 20 images. Posteady saves the images as JPEGs to the API key's workspace media library and returns them in order. Pass their mediaIds in order as instagram media to POST /api/v1/posts or POST /api/v1/scheduled-posts to post them as one carousel, or as the mediaIds of tiktokPhoto to post them as one TikTok photo post. A story takes one image, so send each image in its own request. With output pdf, Posteady saves the images instead as the pages of one PDF document and returns it. Send linkedinOptions.document as { mediaId, title }, with its mediaId and a title of up to 200 characters, to post a LinkedIn document post that readers page through. The request returns after the files are drawn and saved. With output carousel, Posteady draws nothing and saves the slides instead as a new draft carousel, the same way as Edit in the carousel editor in Postshot. Its text, fonts, colors, and layout can be edited in the Posteady carousel editor at editorUrl, and the carousel can be posted from there. Postshot is free and doesn't use credits, but the files count toward the organization's media storage quota. Each request stores new copies. On the free trial, the files don't include url; their mediaIds still work for publishing. The API key's member needs permission to create or edit posts, or permission to create carousels for output carousel. Each member can make up to 30 requests in 10 minutes per workspace, together with Postshot in the post editor.
Authorization
apiKey In: header
Request body
application/json
TypeScript definitions
Use the request body type in TypeScript.
Response body
application/json
application/json
application/json
application/json
application/json