flowpx API guide

Open in ClaudeOpen in ChatGPTPricing

Your own system sends an image to a flow shared with your organization, or to one of our tools, gets a run id at once, and then waits for the finished image, asks for it, or is told by a signed webhook. Every answer says what the run cost and what is left on your balance. Each tool below shows its price; the plans and a price list per tool are on our pricing page: https://www.flowpx.io/en/pricing.

Base URL: https://www.flowpx.io/api/v1. Your flows, with calls ready to copy: your Settings page. New here, or an AI agent? Start with Flows: start from a template, then pick tools under Tools: each section says which tool to start with.

Your API key

Every call carries your own API key: Authorization: Bearer fpx_…. Each member of your organization has their own, on their Settings page; regenerating it makes a new one and stops the old one at once. A run started with a key belongs to the key's owner: only their own key reads it (a teammate's key gets not_found), and it is paid from the organization's balance. A key stops as soon as we learn its owner has left the organization (Clerk tells us within seconds), so run a production integration on a member kept for it (for example an "api@" address of your company), not on a person's own account. Keep the key on your server: never in a browser or an app. The examples read it from FLOWPX_API_KEY.

export FLOWPX_API_KEY=fpx_…
curl https://www.flowpx.io/api/v1/flows -H "Authorization: Bearer $FLOWPX_API_KEY"

GET /api/v1/flows lists your flows (those you built in the app, those a teammate shared with you, and those we shared with your organization) with their images, settings and upToUsd: the most one run is expected to cost you (for a flow built in the app or a template, also the cap a run gets unless you set maxCostUsd). A typical run costs less: the app's cards and the templates below say "about". Our templates are not in it: they are open to every organization, with their ids under Flows: start from a template and as JSON in GET /api/v1/templates, in the same shape. It is free, so it is also a quick check that your key works.

GET /api/v1/tools lists every tool as JSON, by section with which tool to start with: its images, every setting with its type, choices, range and default, and its price for your organization. GET /api/v1/tools/<id> gives one tool, with what it can do and what it is best at. Both are free and say the same as Tools.

With an AI agent (Claude Code, Codex, Cursor): put the key in the environment yourself, in your terminal or your project's .env file, and let the agent read $FLOWPX_API_KEY. Never paste the key into a prompt or a chat: whatever is in the conversation can end up in logs and transcripts. If a key was pasted somewhere, regenerate it on the Settings page.

Use with AI agents (MCP)

AI agents such as Claude Code, Cursor and Codex can use flowpx directly over MCP: list the tools, run one and get the result, without reading this guide. The server is https://www.flowpx.io/api/mcp and takes the same key. Put the key in your environment first (export FLOWPX_API_KEY=fpx_…, in your terminal or shell profile); each setup below reads it from there, so it is never written in a file.

Claude Code, in your project's .mcp.json:

{
  "mcpServers": {
    "flowpx": {
      "type": "http",
      "url": "https://www.flowpx.io/api/mcp",
      "headers": { "Authorization": "Bearer ${FLOWPX_API_KEY}" }
    }
  }
}

Cursor, in ~/.cursor/mcp.json (or .cursor/mcp.json in your project):

{
  "mcpServers": {
    "flowpx": {
      "url": "https://www.flowpx.io/api/mcp",
      "headers": { "Authorization": "Bearer ${env:FLOWPX_API_KEY}" }
    }
  }
}

Codex, in ~/.codex/config.toml:

[mcp_servers.flowpx]
url = "https://www.flowpx.io/api/mcp"
bearer_token_env_var = "FLOWPX_API_KEY"
tool_timeout_sec = 120

Claude on the web (claude.ai): Settings → Connectors (Plugins) → Add → Add custom connector. Name flowpx, URL https://www.flowpx.io/api/mcp, Continue. Under Authentication choose No sign-in (Claude marks "Sign in now" as detected: ignore it), then under Request headers add authorization with the value Bearer fpx_… (the word Bearer, a space, your key), check that No sign-in is still chosen, and Add. The connector shows Connected with the flowpx tools. Request headers are a Claude beta that not every account has yet; on a Team or Enterprise plan the owner adds the key once and everyone in that Claude organization uses it, so their runs are the key owner's.

Then ask, for example: "Which flowpx tool removes a background best? Run it on ./photo.jpg and save the result." The tools: list_tools and describe_tool (every tool, its images, settings and price), list_flows (templates and your flows, each with its images, settings, price and steps; with flow set, one flow in full with every step's settings), describe_flow, create_flow, update_flow and delete_flow (build and change your own flows, below under Build and change flows; delete_flow asks you first), run_tool and run_flow (start a run and wait up to 45 seconds, so the answer comes before an agent's own 60-second limit for a call; each needs an idempotencyKey, so a call the agent sends again never runs or charges twice), get_run (a run that took longer) and create_upload (a link to send a local file to). They do exactly what the calls below do: the same checks, the same prices, the same maxCostUsd and balance, and a run belongs to the key's owner. Results come back as links that work for an hour. ChatGPT on the web needs a sign-in instead of a key, which flowpx does not offer yet.

Start a run

POST /api/v1/flows/<flow>/runs runs a flow: one you built, one a teammate shared with you (the run is yours, and everyone it is shared with sees it in the flow), one we shared with your organization, or one of our templates (open to every organization). POST /api/v1/tools/<tool>/runs runs a single tool of our catalog the same way (every tool, its images and its settings are under Tools; in the app, Use via API on a tool's quick start shows its calls). The images go under the flow's or tool's own input names, three ways:

Also in the body: params (the flow's settings; one the flow leaves to each call, like a prompt, is required, and a tool's prompt is too), and, all optional, maxCostUsd (the most this run may be charged; by default five times its typical cost), webhookUrl, on a flow your organization built version (below) and, on a flow whose recipe is open to you, stepParams (below). Images: PNG, JPEG, WebP, AVIF or HEIC.

The answer comes at once: 202 with the run (status: "queued"). Keep its id.

To chain tools, start the next run with the finished run's result.url as its image link.

Wait, or ask again

Add ?wait=60 (0 to 60 seconds) to the start call or to GET /api/v1/runs/<id>: the answer comes when the run has finished (200, status "done" or "failed") or when the time is up (202, still running: ask again). So check the run's status, not only the HTTP status: a run that failed is a 200 with status: "failed" and the reason in error. A dropped connection loses nothing; the run goes on, and GET /api/v1/runs/<id> always has it. More than 60 is refused.

Worked example

A flow with one image input, image. Put your flow's id in place of your-flow-id: your flow's own page under Settings has these calls ready, with its real inputs and settings. Some curl examples read the answer with jq (macOS: brew install jq; Debian or Ubuntu: sudo apt install jq); Send a file and wait needs none.

Send a file and wait

The image in the call itself (up to about 4 MB), and the finished run in the answer when it takes less than a minute.

curl -X POST "https://www.flowpx.io/api/v1/flows/your-flow-id/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png

Send a link, then ask for the run

An https link to the image. The answer comes at once with the run’s id; ask for the run until it has finished.

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/flows/your-flow-id/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Get a webhook when it is done

Your server is told when the run ends, with a signed POST. Check the signature with your webhook signing secret (see the API guide).

curl -X POST "https://www.flowpx.io/api/v1/flows/your-flow-id/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}},"webhookUrl":"https://your-server.example.com/flowpx-webhook"}'
# When the run ends, your address gets a signed POST: { "type": "run.finished", "run": { … } }

A bigger file (up to 50 MB)

# 1. Ask for an upload link (it works for 10 minutes)
UPLOAD=$(curl -s -X POST "https://www.flowpx.io/api/v1/uploads" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"contentType": "image/png"}')

# 2. Send the file straight to storage (up to 50 MB)
curl -sS -o /dev/null -w "upload: %{http_code}\n" -X PUT "$(echo "$UPLOAD" | jq -r .uploadUrl)" \
  -H "Content-Type: image/png" --data-binary @big.png

# 3. Start the run with it
curl -X POST "https://www.flowpx.io/api/v1/flows/your-flow-id/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d "$(echo "$UPLOAD" | jq '{inputs: {"image": {upload: .upload}}}')"

The run

The same shape in GET /api/v1/runs/<id>, a ?wait= answer and the webhook. status is "queued", "running", "done" or "failed": a finished run is "done" (not succeeded). result.url is the finished image, a link that works for an hour (expiresAt); every GET gives a fresh one. result.files lists every file the result made, that one first: a step that gives several (layers, several versions, a ZIP of masks) adds the others there. Check each file's contentType: an extra file is not always an image (application/zip). Files are kept 30 days: after that a run has filesDeleted: true and no result, so save what you want to keep. A run of a flow your organization built has version, the version it ran. costUsd is what the run was charged (while it runs, what it has cost so far), maxCostUsd the most it may be charged, both in what you pay. steps shows each step with its status (a step that did not need to run is skipped, with why), cost and time; a tool's run has one step, the tool. A model may answer in another format than you expect (WebP where you expected PNG): read each file's contentType, which its name ending matches, or add Convert File Format (format-converter) for a fixed one. A failed run has error in plain words and errorCode to act on: refused (an input or its content was refused, by our checks before anything was paid, by the step itself (e.g. a cut-out step given an image without a transparent background) or by the model's content filter; change the input. The words say why, except in a flow whose recipe is not shared with you, where they name only the step), max_cost (raise maxCostUsd), stopped (a flow ended itself on purpose, e.g. because a check found the image unusable; also stopped: true) or internal (our fault: the words have the run id, tell us). A run that has not failed has errorCode: null. When a step searched Google (Web search or Image search on Nano Banana), the run has googleSearch: suggestions, Google's search suggestions as HTML, and the queries it ran. Google's terms ask you to show the suggestions, unchanged, to whoever sees that result: put the HTML in a sandboxed iframe (srcdoc, without allow-scripts or allow-same-origin), never in your page through innerHTML.

{
  "id": "0b9d3c1e-5f0a-4c55-9a51-2f1f7e3a8c11",
  "flow": "your-flow-id",
  "status": "done",
  "error": null,
  "errorCode": null,
  "createdAt": "2026-10-20T09:12:03.120Z",
  "finishedAt": "2026-10-20T09:12:41.870Z",
  "costUsd": 0.0187,
  "maxCostUsd": 0.5,
  "result": {
    "url": "https://…/result.png?…",
    "contentType": "image/png",
    "expiresAt": "2026-10-20T10:13:02.000Z",
    "fields": {},
    "files": [
      {
        "url": "https://…/result.png?…",
        "contentType": "image/png",
        "expiresAt": "2026-10-20T10:13:02.000Z"
      }
    ]
  },
  "steps": [
    {
      "id": "check",
      "label": "Check the image",
      "status": "done",
      "costUsd": 0.0021,
      "ms": 3120,
      "reason": null
    },
    {
      "id": "clean-up",
      "label": "Clean it up",
      "status": "done",
      "costUsd": 0.0021,
      "ms": 3120,
      "reason": null
    },
    {
      "id": "enlarge",
      "label": "Enlarge it",
      "status": "skipped",
      "costUsd": 0,
      "ms": null,
      "reason": "not needed for this image (decided by step \"check\")"
    }
  ]
}

Webhooks

Start a run with webhookUrl (https, up to 2,048 characters) and your server gets a POST when it ends: { "type": "run.finished", "run": { … } }. Answer with any 2xx within 10 seconds. Without one, we try again after 1 minute, 5 minutes, 30 minutes, 2 hours and 6 hours (6 attempts in all), then stop. Redirects are not followed. The run itself is never affected: GET /api/v1/runs/<id> always has its result.

Every webhook is signed in the Standard Webhooks format, with your organization's webhook signing secret (whsec_…, one for the whole organization, shown on the Settings page to every member; an admin can regenerate it, which stops the old one at once). The headers: webhook-id (the same on every attempt: drop repeats you have seen), webhook-timestamp and webhook-signature. Check the signature against the raw body before you trust it, with the standardwebhooks library (npm, PyPI) or these few lines:

JavaScript (Node)

import { createHmac, timingSafeEqual } from 'node:crypto'

// secret: your webhook signing secret (whsec_…) from your Settings page.
// headers: the request's headers; body: the request's raw body as text.
export function verifyWebhook(secret, headers, body) {
  const id = headers['webhook-id']
  const timestamp = headers['webhook-timestamp']
  const signatures = headers['webhook-signature']
  if (!id || !timestamp || !signatures) return false
  // Older than 5 minutes: refuse it, so a captured webhook cannot be sent again later.
  if (Math.abs(Date.now() / 1000 - Number(timestamp)) > 300) return false
  const key = Buffer.from(secret.replace(/^whsec_/, ''), 'base64')
  const expected = createHmac('sha256', key).update(`${id}.${timestamp}.${body}`).digest()
  return signatures.split(' ').some((signature) => {
    const [version, value] = signature.split(',')
    const given = Buffer.from(value ?? '', 'base64')
    return version === 'v1' && given.length === expected.length && timingSafeEqual(given, expected)
  })
}

Python

import base64
import hashlib
import hmac
import time


def verify_webhook(secret: str, headers, body: bytes) -> bool:
    """secret: your webhook signing secret (whsec_...); headers: the request's headers; body: its raw bytes."""
    msg_id = headers.get("webhook-id")
    timestamp = headers.get("webhook-timestamp")
    signatures = headers.get("webhook-signature")
    if not (msg_id and timestamp and signatures):
        return False
    # Older than 5 minutes: refuse it, so a captured webhook cannot be sent again later.
    if abs(time.time() - int(timestamp)) > 300:
        return False
    key = base64.b64decode(secret.removeprefix("whsec_"))
    expected = hmac.new(key, f"{msg_id}.{timestamp}.".encode() + body, hashlib.sha256).digest()
    for signature in signatures.split(" "):
        version, _, value = signature.partition(",")
        try:
            given = base64.b64decode(value)
        except ValueError:
            continue
        if version == "v1" and hmac.compare_digest(given, expected):
            return True
    return False

Flows whose recipe is open to you

Most flows we build for you keep their recipe to us: you see each step's name, status, cost and time. A flow agreed to be yours is shared with its recipe open: its page, GET /api/v1/flows and each run also show every step's tool, model and settings, and a run may change any step's settings: "stepParams": { "<step>": { "<setting>": … } } (a fallback is <step>:fallback). Unknown steps or settings are refused. On other flows, stepParams is refused.

Your flow's versions

A flow your organization builds in the app gets a new version each time it is changed and then run there (version 1, 2, 3, …). A flow that has never run can be called at once: the first call runs it as it is saved in the app and fixes that as its first version (if it cannot run yet, the call gives flow_not_ready with what to fix). Then pin the version that run's answer shows (GET /api/v1/flows and list_flows list every version in versions). After that, a call runs its latest version unless it names one: "version": 3 in the body (-F version=3 in a form) runs exactly version 3, however the flow changes later, and "version": "draft" runs the flow as it is saved now and makes that its latest version (see Build and change flows). The calls in a flow's Use via API are pinned to its latest version, so a change in the app never changes what your integration runs until you move it to a newer version. GET /api/v1/flows lists each of your flows with its latest version and all its versions; a flow that has never run is listed as it is saved, with version: null, and only once it can run. A version that does not exist gives unknown_version (404).

Errors

Always JSON: { "error": "what went wrong, in plain words", "code": "…" }. Act on the code; the words may improve.

code Status Means
missing_key 401 No Authorization header.
invalid_key 401 The key is wrong, or it was regenerated (the old one stops at once). The message shows how the key you sent starts, to compare with your Settings page.
bad_request 400 Something in the call is wrong: the message says what.
insufficient_balance 402 The balance does not cover the most this run may cost, or, without credit, this month's 20 free runs are used. Top up on your Settings page.
no_organization 403 The organization is not set up yet: open your Settings page once.
read_only 403 Only the person who made this flow can change or delete it or run its draft (a flow shared with you, or a template): create_flow with its draft makes your own copy.
conflict 409 Someone saved the flow after the revision you sent: read it again and apply your change to the new draft.
not_found 404 No such flow or tool for your key's owner, or no such run of theirs (another organization's, a teammate's private flow and a teammate's run look the same).
flow_not_ready 400 Your flow cannot run yet: the message says what to fix in the app.
unknown_version 404 Your flow has no such version: the message names its latest.
payload_too_large 413 The call is larger than 4.5 MB: send big files through an upload link. A call that creates or changes a flow takes at most 64 KB.
too_many_runs 429 Your organization's runs at once (1 on Free, 10 on Team, 25 on Enterprise, unless agreed otherwise) are all going. Try again when one has finished.
daily_limit 429 This run would take your organization past its daily limit ($50 a day unless agreed otherwise). It starts again at midnight UTC; write to hello@flowpx.io for a higher limit.
internal 500 Our fault. The message has a request id (and the run id, if a run exists): tell us.

Headers, costs and balance

Every answer to a valid key has X-Cost (what this run was charged, or has cost so far; 0 for an answer without a run) and X-Balance-Remaining, plus X-Request-Id. A 401 has no organization, so no cost headers. A run is charged for everything it ran (every step and every paid attempt, failed ones too), from your prepaid balance, when it ends, and never more than its maxCostUsd. Before each paid step we work out what it may cost with the settings it runs with; a step that could take the run past maxCostUsd is not started, and the run fails with an error that says so (raise maxCostUsd and run it again). A run starts only when your balance, less what your running runs may still cost, covers its maxCostUsd.

Limits

Your organization's plan sets the first one: Free ($0), Team ($149 a month) or Enterprise (from $499 a month, agreed with us). What you pay for a plan becomes balance to run for 12 months. An admin changes the plan under Settings → Plan in the app; prices: https://www.flowpx.io/en/pricing.

Sending a call twice

Add an Idempotency-Key header (any text up to 255 characters, e.g. your own order id) to a start call. The same Idempotency-Key from the same person (the API key's owner) within 24 hours returns the same run instead of starting, and charging, a second one (a teammate's call with the same Idempotency-Key starts their own run). So a call that timed out can safely be sent again.

Versions

/api/v1/ only grows: new fields, new endpoints, new error codes. Ignore fields you do not know. Anything that would break your code comes as /api/v2/, announced in advance.

Build and change flows

Set up a flow you run again and again (cut-out, shadow, square, 1000 px on every catalog photo) without opening the app. The flow is yours and private, exactly as if you had made it in the app, and it opens there like any other flow. These calls are free: only a run costs money.

Call MCP tool What it does
GET /api/v1/flows/<id> describe_flow One of your flows, one shared with you, or a template, as a draft: draft, revision (null on a template), problems, the inputs and params a run of the draft takes, version (what a call without a version runs; null until it has run), versions and editable
POST /api/v1/flows create_flow { "draft": … } makes a new flow: 201 with its id, name, revision and problems
PUT /api/v1/flows/<id> update_flow { "revision": 3, "draft": … } replaces the draft: answers the new revision, problems and version: the version a call without a version runs now, which saving does not change ("version": "draft" runs the new draft)
DELETE /api/v1/flows/<id> delete_flow Deletes it: { "id": …, "deleted": true }. Its runs stay

The draft. The easiest start is describe_flow on the template closest to the job: change its draft and send it to create_flow. In full:

layout (the boxes' places on the canvas, which describe_flow shows) is optional: leave it out. A box without a place is placed when the flow opens in the app, and update_flow without layout keeps the places someone arranged there. Anything else is refused with bad_request and words that name the step and field ("step s2: Resize Image has no setting widht"). A draft that is not finished yet (an image not chosen, an empty prompt) is saved: problems lists what stops it from running, in plain words, and is empty once it can run.

{
  "name": "Catalog: cut-out, shadow, 1000 px square",
  "inputs": [{ "name": "image", "label": "Product photo", "kind": "image" }],
  "steps": [
    { "id": "s1", "tool": "recraft-remove-background", "images": { "image": "image" }, "params": {} },
    { "id": "s2", "tool": "add-shadow", "images": { "image": "s1" }, "params": {} },
    { "id": "s3", "tool": "smart-crop", "images": { "image": "s2" }, "params": { "format": "square" } },
    { "id": "s4", "tool": "resize-image", "images": { "image": "s3" }, "params": { "width": 1000, "height": 1000, "fit": "cover" } }
  ]
}

With a Condition: cut-outs skip the background removal, the rest go through it, and both are squared.

{
  "name": "Catalog: cut out only what needs it",
  "inputs": [{ "name": "image", "label": "Product photo", "kind": "image" }],
  "steps": [
    { "id": "s1", "tool": "condition", "images": { "image": "image" }, "params": { "type": "transparency" } },
    { "id": "s2", "tool": "recraft-remove-background", "images": { "image": "s1:No" }, "params": {} },
    { "id": "s3", "tool": "smart-crop", "images": { "image": ["s2", "s1:Yes"] }, "params": { "format": "square" } }
  ]
}

Changing it. describe_flow, change the draft, and send it back with the revision you read. If someone saved the flow since (a person in the app, or another call), the call gives conflict (409): read it again and apply your change to the new draft. Rename a flow by changing draft.name; copy one with describe_flow and create_flow. Only the person who made a flow changes or deletes it or runs its draft: on a flow shared with you, and on a template, the call gives read_only (403). Sharing a flow with your team is done in the app. Each person keeps at most 200 flows.

Saving never changes what your integration runs. A call without a version runs the version that last ran, and a pinned version runs that version forever. To run your changed draft, start a run with "version": "draft": it runs the saved draft, fixes it as a new version and, as a Run in the app does, makes it the version calls without a version run from then on. A flow that has never run needs no version: its first run runs its draft.

Flows: start from a template

Our templates are tested recipes, a good start for what most shops need, and open to every organization. Run one in a single call, as it is: POST /api/v1/flows/<template id>/runs with its images (GET /api/v1/flows does not list them: the ids are below). For a product in a lifestyle scene, start with template-lifestyle: one product photo, and AI makes the scene around it (to write your own prompt, run its first step, gpt-image-2-5-sunburst, on its own). When the product must stay exactly as photographed (labels, text, shape), use template-products-scene instead: your own scene and a product photo, cut out and placed, never redrawn by AI. To change a template, or to build your own flow, read the template closest to the job first: its steps below show which tool each step runs, with which settings, and which step's result it gets, for example a lifestyle scene into a product video, or placing the real product into a scene without AI redrawing it. Use them as a guide, not a rule, and combine tools as you like. To run your own chain in one call, make it a flow: describe_flow on a template gives its draft to change and send to create_flow (Build and change flows); a flow saved in the app runs in one call too (its Use via API shows the call). Or chain tools yourself: start each step as its own run with the previous run's result.url as its image, and let a check's result.fields decide what runs next. A template runs exactly as below: it takes no params and no stepParams (to change a step's settings, run its tool on its own). Each step has an id (s1, s3, …), the one the run's steps show. The price is about what one run costs at our standard prices; the run's costUsd says what it really cost.

Lifestyle image from a product photo (template-lifestyle)

Your product in a scene you describe. Images: image. About $0.03 a run.

  1. Step s1: gpt-image-2-5-sunburst: image ← your image, settings {"prompt":"Place the product from the image in a bright, natural lifestyle scene that suits it, in soft daylight. Keep the product exactly as it is: its shape, colours, materials, text and every detail.","quality":"medium","background":"auto","moderation":"low"}
  2. Step s3: format-converter: image ← step s1, settings {"format":"webp","quality":85,"max_size":1200}

Product video from a photo (template-product-video)

Your product in a scene and close up, as video. Images: image. About $1.21 a run (a video).

  1. Step s1: gpt-image-2-5-sunburst: image ← your image, settings {"size":"1024x1024","prompt":"Place the product from the image in a premium lifestyle setting that naturally fits the product, as a square photo with depth: the product sharp in the middle ground, something from the setting softly blurred in the near foreground, and the space behind the product softly out of focus. Leave generous space above the product so the setting feels spacious. Beautiful natural light with soft shadows, shot like a premium advertising photo. Keep the product exactly as it is: its shape, colours, materials, text, logo and every detail.","quality":"medium","background":"auto","moderation":"low"}
  2. Step s2: gpt-image-2-5-sunburst: image ← step s1, image_reference ← your image, settings {"size":"1024x1024","prompt":"A close-up photo from this exact scene: the camera is close to the product shown in the second image, so a part of it, its material, texture and details, fills most of the square frame, with the rest of the scene softly blurred behind it. Same light, shadows and colours as the scene. Keep the product exactly as in the second image: its shape, colours, materials, texture and every detail. Photorealistic.","quality":"medium","background":"auto","moderation":"low"}
  3. Step s3: minimax-h3: first_frame_image ← step s1, settings {"prompt":"The camera trucks sideways past the product in its setting, about one metre over the whole clip, at one steady pace from the first frame to the last. Wide lens, verticals stay straight. The light and the shadows stay fixed to the scene; only the camera moves. The product keeps its exact shape, colour, material and texture. Photorealistic, one continuous shot, no cuts.","duration":4,"resolution":"768P","ratio":"1:1"}
  4. Step s4: minimax-h3: first_frame_image ← step s2, settings {"prompt":"The camera trucks sideways along the product, close to it, in the same direction, about thirty centimetres over the whole clip, at one steady pace from the first frame to the last. Wide lens, verticals stay straight. The light and the shadows stay fixed to the scene; only the camera moves. The product keeps its exact shape, colour, material and texture. Photorealistic, one continuous shot, no cuts.","duration":4,"resolution":"768P","ratio":"1:1"}
  5. Step s5: join-videos: image ← step s3, image_2 ← step s4, settings {"transition":"cut","clip_seconds":"4","remove_sound":true}

Hero image (template-hero)

Your product as a clean hero picture, never redrawn. Images: image, image_2, image_3. About $0.01 a run.

  1. Step s1: recraft-remove-background: image ← your image
  2. Step s2: combine-images: image ← step s1, background ← your image_2, badge ← your image_3, settings {"placement":"manual","enhance_with_ai":false,"aspect_ratio":"1:1","badge_place":"left","badge_size":45,"shadow":"medium","light":"left"}

Product banner (template-banner)

Your product on a banner with a headline. Images: image, image_2, image_3. About $0.01 a run.

  1. Step s1: recraft-remove-background: image ← your image
  2. Step s2: make-banner: image ← step s1, logo ← your image_2, background ← your image_3, settings {"headline":true,"text":"ICE COLD | 24 HOURS | **€39** €29","font":"barlow-semi-condensed-extrabold-italic","text_color":"#1E3A2B","layout":"text-right","aspect_ratio":"9:16","emphasis":"strikethrough","mark_weight":"bold","emphasis_color":"#E4572E","arrow":"curved","arrow_weight":"bold","band":"bottom","band_color":"#1E3A2B","shadow":"soft","light":"right"}

Reframe to a new format (template-reframe)

Your image in a new shape. Images: image. About $0.03 a run.

  1. Step s1: gpt-image-2-5-sunburst: image ← your image, settings {"size":"1536x1024","prompt":"Recompose this image into the new format. Keep the product exactly as it is, whole and uncropped, with its shape, colours, text and every detail. Extend the background naturally on every side so it fills the frame, matching its light and surfaces.","quality":"medium","background":"auto","moderation":"low"}
  2. Step s3: format-converter: image ← step s1, settings {"format":"webp","quality":85,"max_size":1200}

Match your site’s format (template-site-format)

Every product image in your site’s format. Images: image. About $0.03 a run.

  1. Step s1: condition: image ← your image, settings {"type":"background"}
  2. Step s2: bria-remove-background: image ← step s1, answer Solid
  3. Step s3: smart-crop: image ← step s1, answer Transparent or step s2, settings {"format":"square","subject_scale":80,"background":"transparent"}
  4. Step s4: gemini-find-and-crop: image ← step s1, answer Photo, settings {"prompt":"This photo is from an online store. Find the product the photo shows.","format":"square","margin":12,"if_no_fit":"border","border_color":"#ffffff","keep_people":true}
  5. Step s5: resize-image: image ← step s3 or step s4, settings {"width":1000,"height":1000,"fit":"cover"}
  6. Step s6: format-converter: image ← step s5, settings {"format":"webp","quality":85,"max_size":0}

Products in a scene, untouched by AI (template-products-scene)

Your product in a scene, never redrawn. Images: image_2, image. About $0.15 a run.

  1. Step s3: recraft-remove-background: image ← your image_2
  2. Step s1: add-product-to-lifestyle-image: scene ← your image, image_2 ← step s3
  3. Step s2: format-converter: image ← step s1, settings {"format":"webp","quality":85,"max_size":0}

Change color from a sample (template-color)

The same product in the colour of a sample. Images: image, image_2. About $0.03 a run.

  1. Step s1: gpt-image-2-5-sunburst: image ← your image, image_reference ← your image_2, settings {"prompt":"Change the colour of the product in image 1 to the colour of the sample in image 2. Keep its shape, materials, texture, text and every other detail exactly as they are. Plain white background.","quality":"medium","background":"auto","moderation":"low"}
  2. Step s3: format-converter: image ← step s1, settings {"format":"webp","quality":85,"max_size":1200}

Tools

Every tool below runs on its own with POST /api/v1/tools/<id>/runs: send its images under the names shown (PNG, JPEG, WebP, AVIF or HEIC, also another run's result.url) and any of its settings in params (left out, a setting takes its default; where a text says what blank does (Auto, Use original, No limit …), leave the setting out). Where a setting shows a recommended value (recommendedValue in the JSON), that is flowpx's tested choice for e-commerce images and what a new step in the app starts at; the default is what a call that leaves it out gets, so set the recommended value to get the app's result (Trim Transparent Background's subject_scale: default 0, recommended 75). A tool's price is for its recommended values: a dearer default (GPT Image 2.5's quality auto) can cost more, and priceDependsOn names the settings that change it. Each section starts with which tool to pick first, and each tool's Best at says when it is the right one. Kind says whether a tool is an AI model or a script that gives the same result every time. The price is about what one run costs at our standard prices; the run's costUsd says what it really cost. The same as JSON: GET /api/v1/tools, or one tool with GET /api/v1/tools/<id>.

Generate or edit images

Start with GPT Image 2.5 (gpt-image-2-5-sunburst): ranked #1 on Arena.ai, and good at edits that must keep shape and text. If the result is not right, try Nano Banana Pro (nano-banana-pro) as a second model. For speed and a lower price, Nano Banana 2.1 (nano-banana-2-1). For a natural, photographic new setting, Seedream 5 Pro (seedream-5-pro) (slow). Flux 2 Pro (flux-2-pro) is another fast choice. To change only one area and keep the rest exactly, use an inpainting tool: it repaints only the white area of a mask you send with the image (make the mask with the tools under Create and use masks). Use Flux Fill Pro (flux-fill-pro) (the image and its mask) when you can describe the change in words, or Nano Banana Pro Inpaint (nb-pro-inpaint) (the image, its mask and a reference image) when you have a reference image to follow. If the product's text and proportions must stay exact, use the tools under Create product images untouched by AI instead.

GPT Image 2.5 (gpt-image-2-5-sunburst)

Creates or edits images from a description. #1 on Arena.ai for images and edits: a great first choice. About $0.029 a run.

Kind: AI model: the result can differ a little from run to run.

Best at: Clean edits where shape and text must stay the same, such as tidying a graphic or cutting out a product. Colors can shift slightly, so follow it with Correct Colors when exact colors matter. To change exactly one area and keep the rest as it was, use Flux Fill Pro or Nano Banana Pro Inpaint with a mask. Editing with a reference image costs a little more than creating from text.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/gpt-image-2-5-sunburst/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png \
  -F 'params={"prompt":"your prompt"}'

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/gpt-image-2-5-sunburst/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}},"params":{"prompt":"your prompt"}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Nano Banana Pro (nano-banana-pro)

Creates or edits images from a description. Google's premium image model. About $0.18 a run.

Kind: AI model: the result can differ a little from run to run.

Best at: Product variants where a color, pattern or material must follow a sample closely.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/nano-banana-pro/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png \
  -F 'params={"prompt":"your prompt"}'

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/nano-banana-pro/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}},"params":{"prompt":"your prompt"}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Nano Banana Pro Inpaint (nb-pro-inpaint)

Repaints only the masked area of an image. Can follow a material or pattern sample. About $0.18 a run.

Kind: script with an AI step inside: the AI part can differ from run to run.

Best at: Changing one part of a product, such as its color or material, while everything else must stay the same. Set the shape to match the photo: a square shape adds borders to other photos. When the change can be described in words, Flux Fill Pro is another choice; for a freer edit of the whole image, GPT Image 2.5 Sunburst is usually best.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/nb-pro-inpaint/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png \
  -F image_mask=@image_mask.png

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/nb-pro-inpaint/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"},"image_mask":{"url":"https://example.com/image_mask.png"}}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Seedream 5 Pro (seedream-5-pro)

Creates or edits images from a description. ByteDance's top image model. About $0.059 a run.

Kind: AI model: the result can differ a little from run to run.

Best at: Product photos in a new setting, such as a bag on a table in a bright room, with a natural, photographic look. It is slow: about 2 to 2.5 minutes per image.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/seedream-5-pro/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png \
  -F 'params={"prompt":"your prompt"}'

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/seedream-5-pro/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}},"params":{"prompt":"your prompt"}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Nano Banana 2.1 (nano-banana-2-1)

Creates or edits images from a description. Fast, at about a third of Nano Banana Pro's price. About $0.052 a run.

Kind: AI model: the result can differ a little from run to run.

Best at: Many images at a lower price, such as product photos in a new setting. For the closest match to a color or material sample, Nano Banana Pro is stronger.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/nano-banana-2-1/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png \
  -F 'params={"prompt":"your prompt"}'

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/nano-banana-2-1/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}},"params":{"prompt":"your prompt"}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Flux 2 Pro (flux-2-pro)

Creates or edits images from a description. Black Forest Labs' most advanced model, and fast. About $0.10 a run.

Kind: AI model: the result can differ a little from run to run.

Best at: Fast edits and new settings for a product, in about 15 seconds. The price grows with the size of the images in and out.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/flux-2-pro/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png \
  -F 'params={"prompt":"your prompt"}'

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/flux-2-pro/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}},"params":{"prompt":"your prompt"}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Flux Fill Pro (flux-fill-pro)

Repaints only the masked area of an image, the way you describe it. About $0.065 a run.

Kind: AI model: the result can differ a little from run to run.

Best at: Changing one part of a product, such as the fabric of a seat, when you can describe the change in words. It takes no reference image: to follow a material or pattern sample, use Nano Banana Pro Inpaint. For a freer edit of the whole image, GPT Image 2.5 Sunburst is usually best.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/flux-fill-pro/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png \
  -F 'params={"prompt":"your prompt"}'

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/flux-fill-pro/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}},"params":{"prompt":"your prompt"}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Create product images untouched by AI

An AI image generation tool (such as GPT Image 2.5 (gpt-image-2-5-sunburst)) usually gives the more natural lifestyle picture, but it can change the product's text, label or proportions. Use the tools here when AI must not, or may not, redraw your products, or when every detail must be exactly right. Every tool here keeps your product exactly as photographed: AI never redraws it. A product banner or ad with a headline, from a product cut-out, in any aspect ratio: Create Product Banner (make-banner) (free; no AI, the text always spelled right). A packshot or hero picture without text (the product with up to three side items, a round badge beside it and a logo, on a colour or a background picture): Create Hero Image (combine-images) (free with Manual placement; optional AI placement or AI light, and every part keeps its own pixels). When your product images must never be redrawn by generative AI, use Add Product to Lifestyle Image (add-product-to-lifestyle-image): send a lifestyle scene and your product cut-outs. With placement ai (the default), AI arranges them like a product photographer, true to their real sizes, and the original product images go back on top; with manual, they stand side by side where you set them, the same in every picture, matching light, shadow and sharpness, and enhance_with_ai optionally redraws the scene around them, never the products themselves. Add Product to Lifestyle Image needs cut-outs: remove the background first.

Create Product Banner (make-banner)

A product banner from a product photo, with or without a headline, in any aspect ratio. Free.

Kind: script, no AI: the same result every time.

Best at: The same banner for many products and formats: type the headline once, run a whole batch, and make each aspect ratio in its own step from the same product. The product must be a cut-out (transparent background): add a Remove Background step before it. Give a background picture (an empty studio, a wall and a table) or use a plain colour. Write the words to mark between double stars, like 27 G, and use | for a new line. To make a background or a side item with AI first, use an AI image generation tool such as GPT Image 2.5. For a picture without text, with several side items or a round badge beside the product, use Create Hero Image.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/make-banner/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/make-banner/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Create Hero Image (combine-images)

Your product, side items, badge and logo on one background. Free without AI; the product is never redrawn.

Kind: script with an AI step inside: the AI part can differ from run to run.

Best at: The same packshot for a whole catalog. The product and side items must be cut-outs: add a Remove Background step first. For a headline, use Create Product Banner; for a photo of a real scene, Add Product to Lifestyle Image.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/combine-images/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/combine-images/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Add Product to Lifestyle Image (add-product-to-lifestyle-image)

AI turns your scene into a photo around your products, which stay exactly as photographed. About $0.13 a run.

Kind: script with an AI step inside: the AI part can differ from run to run.

Best at: Lifestyle and campaign pictures of real products, where a changed label, text or shape is not acceptable: when AI must not, or may not, redraw the products, or every detail must be exactly right. Otherwise an AI image generation tool such as GPT Image 2.5 usually gives the more natural picture, but it can change text and proportions. The products must be cut-outs (transparent background): add a Remove Background step before it. Clear glass and see-through packaging may not come out exactly. Use a scene with an empty table, shelf or floor where the products go. Placement AI gives the most natural picture and costs the most; Manual is cheaper and the same every time, and free when you set the placement yourself with enhance_with_ai off. A product photographed from above can look odd beside the others with Placement AI. For a designed packshot on a plain colour or a background picture, with side items and a badge, use Create Hero Image.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/add-product-to-lifestyle-image/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F scene=@scene.png \
  -F image_2=@image_2.png

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/add-product-to-lifestyle-image/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"scene":{"url":"https://example.com/scene.png"},"image_2":{"url":"https://example.com/image_2.png"}}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Add to image

A logo or watermark on any image: Add Logo or Watermark (add-image-on-image), in a corner or the centre, sized to the image. Text (and a small kicker line above it) on any image, exactly spelled, the same text on a whole batch: Add Text (add-text) (free; auto text colour keeps it readable on light and dark pictures, an optional soft cloud on busy ones). To put the image itself on a background picture, or on a white, transparent or coloured shape (a wide photo on a square, every cut-out the same size on one studio background): Add Image on Background (add-image-on-background).

Add Logo or Watermark (add-image-on-image)

Places a logo or watermark on an image. Free.

Kind: script, no AI: the same result every time.

Best at: The same logo or watermark on a whole catalog. Use a logo with a transparent background (PNG), or it is placed as a solid rectangle. The result has no transparency, even if the image had it. To put a headline or other text on the image, use Add Text.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/add-image-on-image/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png \
  -F overlay_image=@overlay_image.png

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/add-image-on-image/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"},"overlay_image":{"url":"https://example.com/overlay_image.png"}}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Add Text (add-text)

Text on any image, in the spot you choose, with marked words and a soft cloud so it reads. Free.

Kind: script, no AI: the same result every time.

Best at: The same text on many images: type it once and run a whole batch. Auto text colour keeps it readable on light and dark pictures alike, and a soft cloud behind it helps on a busy one. Write the words to mark between double stars, like 50 %, and use | for a new line. For a banner built around a product cut-out, with a logo bar and an arrow to the product, use Create Product Banner.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/add-text/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png \
  -F 'params={"text":"your text"}'

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/add-text/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}},"params":{"text":"your text"}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Add Image on Background (add-image-on-background)

Places an image on a background picture, or on a white, transparent or coloured canvas of any size. Free.

Kind: script, no AI: the same result every time.

Best at: Bringing every image to the same shape and look, such as a wide photo on a white square, or every cut-out the same size on the same studio background. To put a small logo on top of an image, use Add Logo or Watermark.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/add-image-on-background/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/add-image-on-background/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Remove the background

On a plain or nearly plain background (white, grey, a studio backdrop), try Remove Solid Background (remove-solid-background) first: it is free and gives the same result every time, and its tolerance setting also removes colors that differ slightly from the background, like a soft shadow or an uneven white. For the cleanest, most natural edges, and on real photos, use Recraft Remove Background (recraft-remove-background). If it cuts away a strap, a handle or a thin edge, use 851 Labs BG Remover (851-labs-background-remover). If both give a poor cut-out on a hard photo, Bria Remove Background (bria-remove-background) is a third model to try. If the cut-out goes into a darker scene, use Bria Remove Background (bria-remove-background) (no light rim on a product shot on white) or Recraft Remove Background (recraft-remove-background): Remove Solid Background (remove-solid-background) can leave a thin light rim from the old white background.

Remove Solid Background (remove-solid-background)

Removes a plain, single-color background. No AI model, so it is free and the same every time.

Kind: script, no AI: the same result every time.

Best at: Try it first on a plain or nearly plain background: free and the same every time. Raise tolerance to also remove colors close to the background, like a soft shadow or an uneven white. Only background that touches the edge of the image is removed, so white parts inside the product (a white dial, a label) stay; a white edge of the product that touches the frame can go with it. For the cleanest, most natural edges, and on photos with a real background, use Recraft Remove Background.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/remove-solid-background/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/remove-solid-background/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Recraft Remove Background (recraft-remove-background)

Removes any background with AI. Great at clean, natural edges, even on busy photos. About $0.013 a run.

Kind: AI model: the result can differ a little from run to run.

Best at: The cleanest, most natural edges, and the first choice for product photos on a real background. On a plain or nearly plain background, try the free Remove Solid Background first. If it cuts away part of the product, use 851 Labs BG Remover; on a very hard photo, try Bria Remove Background.

Images:

Settings: none.

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/recraft-remove-background/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/recraft-remove-background/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

851 Labs BG Remover (851-labs-background-remover)

Removes any background with AI, or makes a product mask. Keeps thin details like straps and handles. Under $0.01 a run.

Kind: AI model: the result can differ a little from run to run.

Best at: When Recraft Remove Background cuts away part of the product, such as a strap, a handle or a thin edge. Its edges are less clean than Recraft's. Also the quickest way to a mask of the whole product, in one step: set background_type to map. Costs a fraction of a cent per image.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/851-labs-background-remover/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/851-labs-background-remover/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Bria Remove Background (bria-remove-background)

Removes any background with AI. A third option to try on hard photos. About $0.023 a run.

Kind: AI model: the result can differ a little from run to run.

Best at: No light rim on product photos shot on white, so the product fits a darker scene. Also a third model to try on hard photos, when Recraft Remove Background and 851 Labs BG Remover both give a poor cut-out; it is sometimes better there. A photo larger than about 1024 pixels comes back at that size on its longest side, so enlarge it afterwards if you need more.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/bria-remove-background/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/bria-remove-background/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Crop, resize and upscale

To frame cut-outs the same way across a catalog, use Trim Transparent Background (smart-crop), then Resize Image (resize-image) with fit cover for an exact pixel size (the default contain never makes an image larger). For a product small on a white background, Trim Solid Background (auto-crop). To find something and crop to it: Florence-2 Find and Crop (detect-and-crop) for one thing named in a word or two ("cat", "logo"), fast and the cheapest, cropped around it or to a shape; Gemini Find and Crop (gemini-find-and-crop) when a prompt describes what to look for (such as what the shop sells), cropped to a shape with people kept whole. Too small: Real-ESRGAN Upscaler (real-esrgan). Too large for a limit: Downscale Image (downscale-image).

Florence-2 Find and Crop (detect-and-crop)

Finds an object you name and crops around it. A word or two is enough, like "cat" or "logo". Under $0.01 a run.

Kind: script with an AI step inside: the AI part can differ from run to run.

Best at: One thing you can name in a word or two, such as "cat", "car" or "logo". Fast, and the cheapest way to find and crop. To describe what you look for in a sentence, or to keep people whole, use Gemini Find and Crop.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/detect-and-crop/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/detect-and-crop/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Gemini Find and Crop (gemini-find-and-crop)

Finds what you describe and crops around it. Understands a whole prompt; crops to the shape you choose. Under $0.01 a run.

Kind: script with an AI step inside: the AI part can differ from run to run.

Best at: Describing what you look for in a sentence, such as "the product a store that sells clothes would sell", and letting the AI find it. For one thing named in a word, Florence-2 Find and Crop is cheaper.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/gemini-find-and-crop/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png \
  -F 'params={"prompt":"your prompt"}'

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/gemini-find-and-crop/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}},"params":{"prompt":"your prompt"}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Downscale Image (downscale-image)

Shrinks an image to fit a pixel or file-size limit. Free.

Kind: script, no AI: the same result every time.

Best at: Preparing images for an AI model with a size limit (Real-ESRGAN fails above about 1.8 megapixels), or for a website's upload limit.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/downscale-image/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/downscale-image/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Real-ESRGAN Upscaler (real-esrgan)

Makes a small image larger and sharper. Under $0.01 a run.

Kind: AI model: the result can differ a little from run to run.

Best at: Graphics and product photos that are too small for their use. It fails on images above about 1.8 megapixels, so a larger image is shrunk to 1.5 megapixels first, automatically.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/real-esrgan/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/real-esrgan/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Trim Transparent Background (smart-crop)

Trims the transparent background around a cut-out and centres it on a chosen shape. Free.

Kind: script, no AI: the same result every time.

Best at: Giving a whole catalog of cut-outs the same framing. Needs a transparent background to find the subject; for a product on a plain background, use Trim Solid Background.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/smart-crop/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/smart-crop/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Resize Image (resize-image)

Gives an image a set width and height. Free.

Kind: script, no AI: the same result every time.

Best at: Giving every image in a catalog the same pixel size, for example 1200 × 1200 after Trim Transparent Background. "contain", the default, only makes images smaller: to bring a smaller image up to the size (550 pixels to 1000 × 1000), use "cover". A cut-out comes out as PNG, any other image as JPEG or PNG, so add Convert File Format after it for WebP.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/resize-image/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/resize-image/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Trim Solid Background (auto-crop)

Trims the solid background around a product, like white. Free.

Kind: script, no AI: the same result every time.

Best at: Studio photos and graphics on a white or other plain background, where the product sits small in a large frame. For a cut-out with a transparent background, use Trim Transparent Background.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/auto-crop/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/auto-crop/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Create and use masks

For a mask of the whole product (the foreground), use 851 Labs BG Remover (851-labs-background-remover) with background_type map: one step, a fraction of a cent, the product white and the rest black. For one named part, name it with SAM 3 Segmentation (sam3), then clean its edge with Smooth Mask (smooth-mask); Check Mask (check-mask) says whether it follows the photo. Then repaint it with Flux Fill Pro (flux-fill-pro) or Nano Banana Pro Inpaint (nb-pro-inpaint).

SAM 3 Segmentation (sam3)

Finds what you name in a photo and returns it as a mask. Under $0.01 a run.

Kind: AI model: the result can differ a little from run to run.

Best at: Picking out one part of a product, such as the cushion of a chair or the label on a bottle, to repaint only that. The edge can be jagged, so follow it with Smooth Mask. Costs a fraction of a cent per image.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/sam3/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/sam3/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Smooth Mask (smooth-mask)

Smooths a mask's jagged edges, removes specks and fills holes. Free.

Kind: script, no AI: the same result every time.

Best at: Masks for repainting or compositing: large solid areas (simple mode), or objects with thin parts such as handles, straps or legs (adaptive mode, which keeps them).

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/smooth-mask/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/smooth-mask/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Check Mask (check-mask)

Checks that a mask follows the real edges in the photo. Free.

Kind: script, no AI: the same result every time.

Best at: Catching a bad mask before it is reused for many variants. It measures the edge as a whole, so a small local error can still pass.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/check-mask/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png \
  -F image_mask=@image_mask.png

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/check-mask/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"},"image_mask":{"url":"https://example.com/image_mask.png"}}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Check images

To send each image down its own path, use Condition (condition): its type decides what it looks at, and its answer is always in the run's result.fields.answer, so a flow (or your code) can act on it. gemini answers a question you write in question with one of answer_1 to answer_5 (a small AI cost): for what only a look at the picture can tell (a packshot, a model photo or an environment photo?). Free, and the same answer every time: background (Transparent, Solid or Photo: tells cut-outs, packshots on a plain backdrop and photos apart), transparency (Yes when already a cut-out; skip background removal on Yes only when you know your cut-outs are clean, since Recraft Remove Background (recraft-remove-background) cleans up a leftover patch of the old backdrop), resolution (High from max_pixels, else Low: enlarge only on Low) and quality (for logos and graphics: Low for small or blotchy ones, redraw only those). In a flow, a Condition step's answers are its paths. Catch a bad mask with Check Mask (check-mask) before you reuse it.

Condition (condition)

Answers a question about the image, so each kind can take its own path. The image passes on untouched. Under $0.01 a run.

Kind: script with an AI step inside: the AI part can differ from run to run.

Best at: Sorting a mixed batch so each kind gets its own steps. Gemini Prompt for questions only a look at the picture can answer (a packshot, a model photo or an environment photo?); the free checks give the same answer every time.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/condition/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/condition/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Convert the format

End with Convert File Format (format-converter) for the file type your shop wants, usually WebP.

Convert File Format (format-converter)

Converts an image to WebP, JPEG or PNG. Free.

Kind: script, no AI: the same result every time.

Best at: The last step of a flow, to deliver the file format a web shop wants, usually WebP. WebP and PNG keep a transparent background; JPEG puts it on white. A phone photo stored sideways with a rotation tag is not turned upright: put Resize Image before it, which does. Phone photos in HEIC are accepted, but iPhone HDR photos may come out too dark.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/format-converter/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/format-converter/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Adjust and add effects

A shadow under a cut-out: Add Shadow (add-shadow) (remove the background first). Correct Colors (correct-colors) puts a graphic's colors back after an AI model shifted them. Not for photos.

Correct Colors (correct-colors)

Puts colors that an AI model shifted back to the original ones. Free.

Kind: script with an AI step inside: the AI part can differ from run to run.

Best at: Graphics with a few solid colors, such as icons or logos, after an AI model has redrawn them. Not for photos with soft gradients, where it can create visible bands.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/correct-colors/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png \
  -F image_reference=@image_reference.png

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/correct-colors/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"},"image_reference":{"url":"https://example.com/image_reference.png"}}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Add Shadow (add-shadow)

Adds a natural shadow under a cut-out product, where it stands. Free.

Kind: script, no AI: the same result every time.

Best at: Products with a flat bottom, like boxes, cans, tubs and bottles, photographed standing, from the front or a little above. Flat products photographed from above, like a wallet, a phone case or a watch, with light: above. A gently curved base, like a sneaker's sole, still works; a more curved one does not. It is free, so try it on any product and judge the result. The product must be a cut-out (transparent background): add a Remove Background step before it. Where the shadow reaches past the image's edge, the image grows to hold it (960 × 960 can become 960 × 982). For an exact size, add Trim Transparent Background after it (it frames the product and its shadow in the shape you choose), then Resize Image with Fit cover. The fields shadow_px_left, shadow_px_right, shadow_px_top and shadow_px_bottom say how many pixels each side grew (0 where the shadow fits), not how large the shadow is.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/add-shadow/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/add-shadow/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Create or edit video

For a wide (16:9) or tall (9:16) video, start with Gemini Omni 1.2 Flash (gemini-omni-1-2-flash): #1 on Arena.ai for image to video, at a low price and fast (a video is ready in about half a minute), with sound; give it an image of that shape. For any other shape, such as square (1:1), or to keep the image's own shape, use MiniMax H3 (minimax-h3). For premium videos, longer videos (up to 30 s; Omni and H3 up to 15 s) or many products in one video (up to 30 images), Seedance 2.5 (seedance-2-5): about three times the price of H3, and slower. A product video usually starts from the product photo placed in a scene first: see the template Product video from a photo. For a scene plus a close-up, make the close-up still from the scene with the product photo as the second image, so the right product is shown, then one clip from each with the same model and join them with Join Videos (join-videos). To join clips into one video (a wide shot then a close-up, or several product videos in a row), use Join Videos (join-videos): free, with a fade or a hard cut, and a length per clip to cut each clip to its start; its inputs are videos from these video steps or your own MP4 or MOV uploads.

Gemini Omni 1.2 Flash (gemini-omni-1-2-flash)

Makes a short video from images or text. #1 on Arena.ai and low-priced, in 16:9 or 9:16 only. About $0.72 a run (a video).

Kind: AI model: the result can differ a little from run to run.

Best at: Product videos for a shop or social media, quickly and at a low price. Wide (16:9) or tall (9:16) only: give it an image of that shape.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/gemini-omni-1-2-flash/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png \
  -F 'params={"prompt":"your prompt"}'

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/gemini-omni-1-2-flash/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}},"params":{"prompt":"your prompt"}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

MiniMax H3 (minimax-h3)

Makes a short video from images or text. Keeps your image's shape, square too: a great first choice. About $0.72 a run (a video).

Kind: AI model: the result can differ a little from run to run.

Best at: Product videos for a shop or social media, from one product photo or a batch of them. A 5-second video takes about 2.5 minutes.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/minimax-h3/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F first_frame_image=@first_frame_image.png \
  -F 'params={"prompt":"your prompt"}'

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/minimax-h3/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"first_frame_image":{"url":"https://example.com/first_frame_image.png"}},"params":{"prompt":"your prompt"}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Seedance 2.5 (seedance-2-5)

Makes a short video from images or text. ByteDance's top model: up to 30 images in one video. About $2.09 a run (a video).

Kind: AI model: the result can differ a little from run to run.

Best at: Premium product videos and many products in one video. About three times the price of MiniMax H3, and slower: about 4.5 minutes for a 5-second video.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/seedance-2-5/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/seedance-2-5/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"}}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"

Join Videos (join-videos)

Joins two or more videos into one, with a fade or a hard cut. Free.

Kind: script, no AI: the same result every time.

Best at: A short product film from a few clips, such as a wide shot followed by a close-up, or several products in a row. Make the clips first with a video tool such as MiniMax H3, or upload your own MP4 or MOV videos. Put the video whose size you want first. A fade makes the film shorter: each fade overlaps two videos, so two 7-second videos with a 0.5-second fade give 13.5 seconds. To make a cut feel calm, use a fade of about half a second. To join more than four videos, add a second Join Videos step after the first and give it the result of the first as Video 1.

Images:

Settings (in params):

Send a file and wait:

curl -X POST "https://www.flowpx.io/api/v1/tools/join-videos/runs?wait=60" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -F image=@image.png \
  -F image_2=@image_2.png

Send a link, then ask for the run:

# Start: answers at once with the run's id
RUN_ID=$(curl -s -X POST "https://www.flowpx.io/api/v1/tools/join-videos/runs" \
  -H "Authorization: Bearer $FLOWPX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"image":{"url":"https://example.com/image.png"},"image_2":{"url":"https://example.com/image_2.png"}}}' | jq -r .id)

# Then ask for it; each call waits up to 60 s for it to finish
curl "https://www.flowpx.io/api/v1/runs/$RUN_ID?wait=60" -H "Authorization: Bearer $FLOWPX_API_KEY"