Skip to main content
POST
Error
Pass YouTube URL in context for YouTube thumbnail mode:

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
prompt
string

Title or idea for the thumbnail.

context
object[]

One source for the thumbnail: a YouTube video (youtube, reads its title and transcript) or a PDF (document, public URL).

Maximum array length: 1
referenceImageUrls
string<uri>[]

Reference images, such as the creator's face. Up to 16 including the template.

templateImageUrls
string<uri>[]

One layout template image to follow.

Maximum array length: 1
expression
enum<string>
default:auto

Facial expression for the person in the thumbnail.

Available options:
auto,
neutral,
soft-smile,
big-smile,
surprised,
confused,
worried,
angry,
sad,
disgusted,
determined
variations
integer
default:1
Required range: 1 <= x <= 20

Response

Jobs queued

success
boolean
required
generations
object[]
required
creditsDeducted
integer
creditsRemaining
integer