aiPhotoshoot

Text To Image V2

Changed on

Generate 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 URL
    https://api.brandbooster.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.brandbooster.ai/api/v1/aiPhotoshoot/text-to-image-v2
  • Auth
    HTTP bearer

Request body

promptstring required
stylestring nullable
image_modelstring nullable
domain_idstring required
aspect_ratiostring nullable
stepsinteger nullable
seedinteger nullable
widthinteger nullable
heightinteger nullable
numSamplesinteger nullable
ignore_creditsboolean nullable
product_imagestring nullable
reference_image_urlstring nullable
vertex_modelboolean nullable

Response

Successful Response

unknown required

Changes