CQTAI
Flux · Image

Flux · IntroductionTemporarily Offline

This model is temporarily offline. The docs are for reference only and calls are unavailable. Watch announcements for restoration.

Flux image generation based on the FLUX Kontext family, for text-to-image and image-to-image. Models: • flux-kontext-pro (standard, 12/img) • flux-kontext-max (enhanced, 24/img) Select with the request body model field; returns a taskId, poll for the result.

How to call

  1. Submit: POST /api/cqt/generator/flux, returns a taskId.
  2. Query: GET /api/cqt/info/flux?id=taskId, poll until status = succeeded.

Capability map

Common Errors

CodemsgMeaningHow to fix
400model not foundUnsupported model (only flux-kontext-pro / flux-kontext-max)Set model to flux-kontext-pro or flux-kontext-max
451content moderationPrompt or input image flaggedEdit the prompt or replace the image and retry
500failed / timeoutTask failed or timed out; data.errorMsg usually contains detailsRetry later; contact support if it persists

Errors are returned as upstream bizCode, e.g. upstream bizCode=451, msg=prompt_unsafe.

Tip: after saving your API Key via Authorize, every capability page supports "Try it".