POST
/
v1
/
artwork
/
new
Create New Artwork
curl --request POST \
  --url https://api.roastify.app/v1/artwork/new \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "productId": "cmb04pd9m4005k6049b3elq6d",
  "fields": [
    {
      "fieldId": "placeholder_title",
      "type": "text",
      "value": "Happy Birthday!"
    }
  ]
}'
{
  "jobId": "run_01234567890abcdef",
  "status": "QUEUED"
}

Authorizations

x-api-key
string
header
required

The API key to authenticate requests provided by Roastify. A Base or Pro plan is required to use the API.

Headers

Idempotency-Key
string

The idempotency key to use for the request (V4 UUID recommended)

Example:

"123e4567-e89b-12d3-a456-426614174000"

Body

application/json

Response

202
application/json

Artwork generation job started successfully

The response is of type object.