roastify_generate_artwork
Generate packaging artwork from one of your saved Design Studio designs.
This personalizes a template you already authored: it rewrites that design's named text and image placeholders. It cannot author a design from scratch, and the artwork it produces is NOT attached to a product — Roastify's API has no product-create or storefront-sync surface. You get an artwork URL and carry it onward yourself.
Roastify renders asynchronously, so this returns a job id straight away. Check it with roastify_artwork_status, which is free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npub | No | Required. Your Nostr public key (npub1...) for credit billing. | |
| fields | Yes | Placeholders to rewrite, each {"fieldId": "placeholder_title", "type": "text"|"image", "value": "..."}. An image value must be an https:// URL. | |
| dpop_token | No | ||
| product_id | Yes | A saved design's id, from list_my_products. | |
| client_req_id | No | Your own idempotency key. Reusing it makes a repeated request safe — Roastify will not generate the artwork twice. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||