Chats v2

Enqueue send message job (v2)

post/v2/chats/{id}/send-message

Path parameters

idstring required

Request body

clientIdstring

Client-provided message ID for idempotency

textstring required

Message text

preferVideoboolean

Prefer video generation over image generation for media requests

imageRequestCountnumber

Number of media items to generate (for image/video requests), 1..8

Example request

{
  "clientId": "550e8400-e29b-41d4-a716-446655440000",
  "text": "Hello",
  "imageRequestCount": 1
}

Response

balancenumber required

User coin balance after operation

Changes

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