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) • flux-kontext-max (enhanced) 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

⏳ File retention:Files generated or uploaded on the platform (images, videos, audio and other outputs) are kept for 15 days and then deleted automatically; their links stop working once deleted. Please download them and re-host them in your own storage in time.

💰 See the pricing page for prices →

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 a bizCode, e.g. bizCode=451, msg=prompt_unsafe.

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