aiPhotoshoot
Text To Image V2
Changed onGenerate image from text prompt using AI models (async) - V2. Uses credit deduction similar to get-flux-image (only update_credit_point).
Args: request: TextToImageRequestDTO with prompt, style, and model parameters background_tasks: FastAPI background tasks db: Database session user: User object
Returns: dict: Contains task ID for polling
post/api/v1/aiPhotoshoot/text-to-image-v2
Request
- Base URLhttps://api.brandbooster.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.brandbooster.ai/api/v1/aiPhotoshoot/text-to-image-v2
- AuthHTTP bearer
Request body
Response
Successful Response
unknown required
Changes
- info
added the new optional request property
- info