POST https://makelocalads.com/api/v1/amazon-listing-images and
POST https://makelocalads.com/api/v1/amazon-listing-ideas/{idea_id}/image
Permission: amazon_listings:generate
Render the saved ideas for a marketplace, in a batch or one slot at a time.
Each rendered image costs 2 credits.
Usage notes
- Batch render:
idea_idsrenders the listed slots, or every saved idea when omitted;max_creativesrenders only the first N, main image first, which is how the workspace fits a batch to the credit balance. - One slot:
POST /amazon-listing-ideas/{idea_id}/imagerenders or re-renders one slot, and can change its direction first, like the workspace’s “Edit direction and regenerate”. - A slot keeps only its newest image in
image_url. Earlier images stay inGET /creatives?type=amazon_listing. max_creditsrefuses a batch with422before anything is charged if it would cost more.
Quick start
Input fields
string
required
The product the listing images are for.
string
required
An
id from Marketplaces.array
The slots to render, 1 to 9 unique idea ids from
GET /amazon-listing-ideas. Omit to render every saved idea.integer
Render only the first N saved ideas, main image first, 1 to 9. Omit to
render all of them.
integer
Refuse the request with
422 credit_limit_exceeded, before anything is
charged, if it would cost more than this many credits.Complete JSON schema
Complete JSON schema
Response
202 Accepted, with a Location header and the batch: the slots it started
and credits_charged:
GET /amazon-listing-ideas?product_id=...&marketplace=us with backoff
until each slot’s status is completed or failed. See
Polling.
Render one slot
To render or re-render a single slot, optionally with a new direction:202 Accepted with the idea, whose status is now queued.
Both fields are optional: summary (1 to 2,000 characters) changes the
direction before rendering, and max_credits caps the cost. The request body
can be empty.
Errors
See Errors and retries for the error format.