Create
POST /influencers takes name and a reference imageUrl, plus optional attributes. It renders a preview and costs 10 credits. Plans hold 10 to 200 avatars; over the limit is 429 usage_limit_reached.
Request
curl -X POST "https://looptake.com/api/v1/influencers" \
-H "Authorization: Bearer $LOOPTAKE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"name": "Mara",
"imageUrl": "https://cdn.example.com/mara.png",
"subject": "synthetic",
"niche": "retail operations"
}'Consent
Set subject: "synthetic" for an invented character. Without it the image is treated as a real person, and a real person needs a consent block with a release uploaded through POST /influencers/consent-artefacts. Otherwise the call returns 400 and charges nothing. Consent cannot be attested over MCP.
Render a talking head
POST /influencers/{id}/videos queues a lip-synced video from a script and returns 202. Cost: 5 credits per second of finished video. duration paces the script; it does not cut it.
Request
curl -X POST "https://looptake.com/api/v1/influencers/d076f17e-4529-48a3-b5fe-860bc329c5b4/videos" \
-H "Authorization: Bearer $LOOPTAKE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"script": "Three numbers decide your reorder point.", "duration": 12}'Poll
Poll GET /videos/{id}. ready and failed are final. A failed render refunds its credits.
Request
curl "https://looptake.com/api/v1/videos/08363fcd-f524-4126-b68d-fd64f2f9c09e" \
-H "Authorization: Bearer $LOOPTAKE_API_KEY"Publish as the avatar
An avatar can own its own social accounts. Set ownerType: "influencer" and influencerId on a post or automation. Deleting an avatar deletes its videos and refunds nothing. See AI avatars and influencers.