WizzyFlow
Docs menu

Generations and results

Every media request is asynchronous: you submit it, get an ID back and poll until it's ready.

Submit a request

POST https://api.wizzyflow.ai/api/v3/{model_id}, with the model's parameters as a JSON body. The model ID and the parameters it accepts are in the reference for each model.

curl https://api.wizzyflow.ai/api/v3/wizzyflow/flux-schnell \
  -H "Authorization: Bearer $WIZZYFLOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "prompt": "A lighthouse at sunset, in watercolor" }'

The response comes back immediately, with status created, the request ID in data.id and the price in data.price. At that point the price is reserved from your balance; it's only charged if the request completes.

Input files, such as an image to edit or audio to transcribe, are passed as public URLs in the parameters. Generation is always asynchronous: enable_sync_mode is accepted and ignored.

Poll for the result

GET https://api.wizzyflow.ai/api/v3/predictions/{id}/result, with the same key, every 2 seconds until the status is final.

statusMeaning
createdReceived, waiting in the queue.
processingGenerating.
completedDone: the outputs are in outputs and the amount charged is in price.
failedFailed: the reason is in error, and nothing is charged.
timeoutRan past the time limit: nothing is charged.
{
  "code": 200,
  "message": "success",
  "data": {
    "id": "8f1c2e4a-…",
    "model": "wizzyflow/flux-schnell",
    "status": "completed",
    "outputs": ["https://…/image.png"],
    "error": "",
    "price": 0.01,
    "currency": "USD",
    "created_at": "2026-10-29T14:02:11Z",
    "completed_at": "2026-10-29T14:02:14Z",
    "executionTime": 3000
  }
}

What's in outputs

outputs is always an array. Many models return more than one item per request: several images, two music tracks, a 3D model plus its textures. Read the whole array, not just the first item.

Model typeEach itemFormat
ImageFile URLpng, jpeg or webp, as requested
VideoFile URLmostly mp4; some accept webm, mov or gif
AudioFile URLmostly mp3; some accept wav, flac and others
3DFile URLmostly glb; some accept obj, stl, fbx, usdz, ply
Transcription and captioningtext or objectthe text, or an object with segments and timestamps
Moderationobjectthe content assessment, as JSON
LoRA trainingFile URLthe trained weights, ready to download

Files are available for a limited time. Download anything you need to keep and store it yourself. Each model's reference lists its output type.

Retry without being charged twice

If the connection drops while submitting, you can't tell whether the request was created. To retry safely, send an Idempotency-Key header with a value of your own, up to 200 characters:

  • The same value with the same body returns the same request, without creating a new one or charging again.
  • The same value with a different body is rejected with 409.

History

POST https://api.wizzyflow.ai/api/v3/predictions lists your requests, newest first. All filters are optional.

FieldWhat it does
page, page_sizePage number and page size (up to 100).
modelOnly requests for one model.
statusOnly requests with one status.
created_after, created_beforeOnly requests created between these dates (ISO 8601).