Become a founding member.

← All endpoints
API endpoint

UGC ad

Selfie still and a 9:16 talking ad

Get API key
A made-up guy in a t-shirt films himself in his kitchen at night, holding up a black NOBODY can and talking to the camera.
What goes in
  • product_photoA public https link to the product
  • creatorWho is talking and where
  • lineWhat they say
What it costs
about 89 credits. Paid plan or paid credits.
Made with
GPT Image 2.5, Gemini Omni Flash 1.1

The call

The call behind the sample above, with its real inputs, then the wait for the file. Set WIREFLOW_API_KEY first. Plain HTTP, no SDK to install.

curl -X POST https://www.wireflow.ai/api/v1/apps/ugc-ad/execute \
  -H "Authorization: Bearer $WIREFLOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "product_photo": "https://cdn.wireflow.ai/landing/api/input-nobody-can.webp",
    "creator": "A 29-year-old guy with a patchy beard, tired eyes and a faded grey t-shirt, in his small apartment kitchen at night under one overhead light, dishes in the sink behind him, holding his phone out at arm'\''s length",
    "line": "Okay, I did not expect this. No sugar, and it actually tastes like something."
  }
}'

# It returns an executionId right away. Poll until it finishes.
curl https://www.wireflow.ai/api/v1/apps/ugc-ad/executions/EXECUTION_ID/poll \
  -H "Authorization: Bearer $WIREFLOW_API_KEY"

The key needs Full access or Run published apps (apps:execute).

Change this

Same endpoint, different values. Each one starts a run, and you wait for it the same way as the call above.

Change who is talking

Describe a person and a place. Plain details beat a polished look.

curl -X POST https://www.wireflow.ai/api/v1/apps/ugc-ad/execute \
  -H "Authorization: Bearer $WIREFLOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "product_photo": "https://cdn.wireflow.ai/landing/api/input-nobody-can.webp",
    "creator": "A 52-year-old woman with reading glasses in a garden shed, afternoon light through a dusty window, holding her phone out",
    "line": "Okay, I did not expect this. No sugar, and it actually tastes like something."
  }
}'

Change the line

Keep it short. The clip is short, so a long line can run out of room.

curl -X POST https://www.wireflow.ai/api/v1/apps/ugc-ad/execute \
  -H "Authorization: Bearer $WIREFLOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "product_photo": "https://cdn.wireflow.ai/landing/api/input-nobody-can.webp",
    "creator": "A 29-year-old guy with a patchy beard, tired eyes and a faded grey t-shirt, in his small apartment kitchen at night under one overhead light, dishes in the sink behind him, holding his phone out at arm'\''s length",
    "line": "My sister told me about this. Now I buy it every week."
  }
}'

Point it at your product

Any public https image. The product and its label stay as they are in the photo.

curl -X POST https://www.wireflow.ai/api/v1/apps/ugc-ad/execute \
  -H "Authorization: Bearer $WIREFLOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "product_photo": "https://your-site.com/product.jpg",
    "creator": "A 29-year-old guy with a patchy beard, tired eyes and a faded grey t-shirt, in his small apartment kitchen at night under one overhead light, dishes in the sink behind him, holding his phone out at arm'\''s length",
    "line": "Okay, I did not expect this. No sugar, and it actually tastes like something."
  }
}'

Make it yours

Your copy of the board is private, and every step on it can change.

  1. Copy the board

    Use as a template puts a private copy in your account.

  2. Connect Claude

    Run this once. On the sign-in screen tick "Create, edit and delete workflows", or Claude can copy boards but not change them.

    Terminal
    claude mcp add --transport http wireflow https://www.wireflow.ai/api/mcp
    
  3. Change it by talking to Claude

    Ask for a different rule, voice, length or model setting. Claude edits the settings on each node. New nodes and wires you add on the canvas.

  4. Publish it as your own endpoint

    Use Publish on the board, or this call with a key that has workflows:write. Name your inputs in exposedInputs, or every input on the board is exposed. dailyCreditBudget 0 means only calls with a key can run it, so nobody spends your credits without one. Then call your own slug the same way as the call above.

    curl -X POST https://www.wireflow.ai/api/v1/workflows/WORKFLOW_ID/publish \
      -H "Authorization: Bearer $WIREFLOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
      "customSlug": "my-endpoint",
      "exposedInputs": ["product-photo", "creator", "line"],
      "dailyCreditBudget": 0
    }'