dyoa

Generate avatar photos

Changed on

Generate photos for a fully synthetic avatar. Can be run synchronously or asynchronously.

post/api/dyoa/{id}/gen_photo/

Request

  • The document declares no server URL.
  • Auth
    API key in header X-API-ID and API key in header X-API-KEY

Path parameters

idstring uuid required

A UUID string identifying this fully synthetic avatar.

Request body

ninteger
is_asyncboolean
model'nano-banana-pro'
  • nano-banana-pro - nano-banana-pro

Response

idstring uuid required
userinteger nullable required
workspacestring uuid nullable required
namestring required

The name of the avatar

more_detailsstring nullable

More Details of avatar

outfit_descriptionstring nullable

Description of the avatar's outfit

background_descriptionstring nullable

Description of the avatar's background

status'initializing' | 'draft' | 'pending' | 'in_progress' | 'done' | 'rejected' required
  • initializing - Initializing
  • draft - Draft
  • pending - Pending
  • in_progress - In Progress
  • done - Done
  • rejected - Rejected
created_atstring date-time required
updated_atstring date-time required

Changes