Become a founding member.

Gluely app icon
Customer story

Gluely puts its users in trend videos with one request

Gluely is an iPhone app. You pick a trending clip, add a photo, and you are the one in it. Every video the app hands back is made by the Wireflow API.

Templatetemplate
User photosimage_urls
POST/api/v1/generatemodel: kawarimiGET /api/v1/generate/{id}
Finished mp4outputs
Diagram of the request behind every Gluely video.
  • 1endpoint for every video
  • 10.4 stwo-person clip, both people swapped
  • 7.5 minfrom request to finished mp4
  • 0app releases to add a trend

One production run, measured on 18 November 2026. A single run, not an average.

What the app needed

Swap the person. Keep the original

A trend works because people know the clip. Gluely needed the user in place of the person on screen, moving the way they moved, with the cuts and the sound left alone.

Doing that in house means a video pipeline, GPU queues and a model to look after. Gluely is a small app team. It wanted to send a request and get a video back.

How a video gets made

Photos and a template in, one video out

The app never touches a model. It calls one endpoint and waits for a file.

  1. 01

    Start the run

    The app posts the model, a template id and the user’s photo urls to POST /api/v1/generate. It gets back a generation id and a poll url.

  2. 02

    Poll one url

    GET /api/v1/generate/{id} until status reads completed. A webhook works as well.

  3. 03

    Hand back the mp4

    The finished video is in outputs. Identity holds across cuts, and the clip keeps its original sound.

  4. 04

    Add trends as data

    A template is a row, not code. A new trend goes live in the app without an App Store release.

Credits are held when a run starts and settled to what it really used when it ends.

The request

Start it, then poll it

Two calls. The template id is an example; the fields are the real ones.

Character swap on the generate API is open to partners today. Every other model in the catalog runs on the same endpoint with any API key.

Terminal
# Start a swap
curl -X POST https://www.wireflow.ai/api/v1/generate \
  -H "Authorization: Bearer $WIREFLOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: gen-7f3a" \
  -d '{
    "model": "kawarimi",
    "input": {
      "template": "two-person-dance",
      "image_urls": [
        "https://example.com/u/123/person-1.jpg",
        "https://example.com/u/123/person-2.jpg"
      ]
    },
    "metadata": { "endUserId": "user_1234" }
  }'

# 202: {"data":{"id":"exec_abc123","status":"running",
#               "quote":{...},"poll":"/api/v1/generate/exec_abc123"}}

# Poll until it is done
curl https://www.wireflow.ai/api/v1/generate/exec_abc123 \
  -H "Authorization: Bearer $WIREFLOW_API_KEY"

# 200: {"data":{"status":"completed",
#               "outputs":["<cdn url of the finished mp4>"],
#               "credits":{"charged":...,"refunded":...,"net":...}}}
Build on it

Ship the app. Let the API make the video

The generate endpoint runs every model in the Wireflow catalog. Start with the docs, or tell us what your app needs swapped.