aiPhotoshoot

Generate image from text prompt using AI models (async).

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

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
  • 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