Loopfig Get an API key
API for app backends

Avatars, outfits and emotes from one selfie.

One HTTPS call turns a user's photo into a stylised full-body avatar. Dress it in your catalog's clothes, then animate it into looping emotes. You send a photo and a prompt; we send a webhook when it's ready.

120 free credits to test · avatars from $0.129 · failed jobs are free

A glossy vinyl-toy figure of a young man in a blue and black puffer jacket, standing on a mirror floor under an azure sky
The selfie it was made fromSelfie
Avatarin ~20 s
Three jobs

A character for every user, without a 3D pipeline.

Every result below came out of the API as it runs today, from photos of people who don't exist. Nothing was retouched.

Avatar photo + prompt → full-body image

Your user's face, hair and skin tone on a character in your app's look. Two tested styles ship with the docs, or write your own prompt.

Premium a glossy designer vinyl toy in streetwear, a new outfit per user, azure sky. Simple a 3D animated-film character in everyday clothes, on white.

Outfit avatar + 1–5 items → one image

Send the avatar and packshots from your catalog. All items go on in one try, in the avatar's own style.

The avatar before
Packshot: red puffer jacket
Packshot: white cap
The avatar after, wearing the red puffer and the white cap

Before · two catalog pictures · after, about 16 seconds later.

Emote avatar + action → 4–5 s loop

Describe a motion in a sentence: a wave, a laugh, a dance, a thumbs-up. The clip starts and ends on the avatar, so it loops without a jump.

Wave · 4 s
Thumbs up · 4 s

Video: MiniMax H3

How it works

Three steps, all asynchronous.

One bearer key, JSON in and out. Every request carries its own prompt and pictures, so there's nothing to set up on our side first.

  1. Send a photo and a prompt

    POST /v1/avatars with the user's photo (a URL we can fetch, or an upload) and your look's prompt. You get 202 and a job id at once.

  2. Get a webhook

    When the job is done we POST it to your callback_url, signed with your webhook secret. Or poll GET /v1/jobs/{id}.

  3. Download the result

    output.url is a signed link, no key needed, valid for 7 days. Or give us a presigned URL and we upload straight to your bucket.

Create an avatar
curl -X POST https://api.loopfig.com/v1/avatars \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: avatar-u12345-1" \
  -d '{
    "prompt": "Turn the person in <image1> into a full-body collectible designer vinyl art toy figure, …",
    "photo": {"url": "https://cdn.example.com/uploads/u12345/selfie.jpg"},
    "ratio": "2:3",
    "user_ref": "u12345",
    "callback_url": "https://backend.example.com/hooks/avatars"
  }'

# → 202 {"id": "job_01JD8X3K9Q2M4N6P8R0T2V4W6Y", "kind": "avatar", "status": "queued", …}
# webhook, ~20 s later:
# {"status": "succeeded", "output": {"type": "image", "width": 1024, "height": 1536,
#   "url": "https://api.loopfig.com/v1/files/fil_01JD…?exp=…&sig=…"}, …}

The full contract, with outfits, emotes, webhooks, errors and the tested prompts for both styles, is in the integration guide and the OpenAPI schema.

Measured, not promised

Fast enough to wait for.

Typical times on a warm system, from the request to the webhook.

~20 sAvatar
~16 sOutfit
~90 sEmote

After a quiet spell a cold start adds about 40 seconds for images and up to 10 minutes for the first emote; every job tells you its eta_seconds. Planning a launch? Tell us a day ahead and we warm up. Enterprise plans keep a video GPU reserved for you.

Stateless by design

Your users' photos are not our product.

  • Nothing stored up front

    No templates, no catalog on our side. Every job carries its own prompt and pictures; your looks and your catalog stay in your backend.

  • Deleted on a schedule

    Input photos go 7 days after the job, results after 30 (adjustable per account). One call deletes a job's files, or every file of one of your users.

  • Never used for training

    Photos and results are used to run your jobs and nothing else: never to train a model, never shared, never sold.

  • Straight to your bucket

    Pass a presigned URL and we upload the result to your storage, then delete our copy as soon as the upload succeeds.

Details in the privacy policy: what we keep, for how long, and who processes it.

Pricing

Prepaid credits. A fixed price per job.

No monthly minimum. Bigger packs make each credit cheaper; failed jobs cost nothing.

Avatar9 credits$0.15 on Growth
Outfit6 credits$0.10 on Growth
Emote24 credits$0.40 on Growth

120 free credits to test, no card needed. Credit packs from $20; enterprise from $3,000 a month.

Get an API key.

Create an account and make your key in a minute: your balance, usage and keys are all there. Volume pricing, invoicing or a launch you want us to warm up for: write to us.