Skip to main content
← Photoshoots Endpoints: POST https://makelocalads.com/api/v1/templates and POST https://makelocalads.com/api/v1/photoshoots Permissions: create with photoshoots:generate, list with photoshoots:read A template is a reusable pack of shots, saved from 1 to 24 images. Each shot keeps the same aspect ratio as its source image, and LocalAds retains a stable copy of every accepted image, so the template does not depend on the original URLs remaining available.

Usage notes

  • Create the template from the product’s product_id: it decides which brand can use the template. A template shoot requires the product and template to belong to the same brand.
  • Do not include quick_shoot or moodboard_shots when you send template_id.
  • Each rendered image costs 1 credit; creating and listing templates is free.

Create a template

The response returns 201 Created and the template, with one shots entry per image, in order:

Template fields

string
required
The product the template is made for. It decides which brand can use the template.
string
required
The template’s name, 1 to 160 characters.
array
required
1 to 24 HTTPS images for the pack. LocalAds keeps a stable copy of each accepted image and preserves its aspect ratio.
An image that is only on your computer can be uploaded first with Image uploads.

List and retrieve templates

List the templates available to a brand, newest first:
Retrieve one template to inspect its ordered shots and output dimensions:
A template id contains a colon; URL-encode it in the path, as above.

Start the photoshoot

The response is 202 Accepted with the photoshoot: one outputs entry per template shot, all queued, and template_id set. max_credits (minimum 1) refuses the request with 422 credit_limit_exceeded, before anything is charged, if the shoot would cost more than this many credits. Poll it like any other photoshoot: see Get the photos.

Errors

See Errors and retries for the error format.
Last modified on September 30, 2026