Studio

Request custom prompt image generation

Generates image(s) for the specified character using a custom text prompt. The prompt is composed with model-specific styling before generation.

post/v1/studio/custom-image

Request

  • Base URL
    https://api.miaai.chat (the document declares no server; this is the origin it was published from)
  • URL
    https://api.miaai.chat/v1/studio/custom-image
  • Auth
    HTTP bearer

Request body

modelIdstring required

Model (AI partner) ID

promptstring required

Custom prompt for image generation

countnumber

Number of images to generate (1-10)

Example request

{
  "modelId": "uuid",
  "prompt": "Sitting on a park bench, wearing a fitted jumpsuit, with a confident smile.",
  "count": 1
}

Response

Custom image generation started successfully

idstring required

Attachment ID

type'image' | 'video' | 'audio' | 'gift' required

Type of media

status'IN_QUEUE' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED' | 'CANCELLED' | 'TIMED_OUT' required

Status of the media generation

modelIdstring required

Model ID associated with this generation

createdAtstring date-time required

Creation timestamp

Changes

No recorded changes to this operation across all 1 revision of this API.