POST https://makelocalads.com/api/v1/videos
Permission: videos:generate
Open in LocalAds
The Animate dialog, from any finished photo in the product’s Video Ads
library.
Usage notes
- The product’s plan must include Video Ads.
max_creditsrefuses the request with422before anything is charged if the animation would cost more. A render that fails is refunded.- Send an
Idempotency-Keyso a retry after a network failure never starts and charges for a second animation.
Quick start
Input fields
string
required
animation. Use ugc for a
UGC voiceover video instead.string
required
A completed Quick Shoot photo, or a video made from one. Find photo ids
with
GET /products/{product_id}/creatives?type=photoshoot.integer
The length in seconds, 5 to 15. Defaults to
10.string
9:16 (Portrait), 16:9 (Landscape), or 1:1 (Square). Defaults to
9:16.string
Optional motion direction, 1 to 2,000 characters.
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 the video and a Location header. Poll
GET /videos/{video_id} with backoff until status is completed or
failed; see Polling. The response shape is the same as
a UGC video’s, with type: "animation" and the source photo in
source_creative_id.
Errors
See Errors and retries for the error format.