Skip to main content
GET
cURL
Supported types: text2image and text2speech. Optionally provide a topic parameter to guide the generation toward a specific theme.

Authorizations

Authorization
string
header
required

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

Query Parameters

type
enum<string>
required

Type of sample prompt to generate

Available options:
text2image,
text2speech
Example:

"text2image"

topic
string | null

Optional topic to base the prompt on. Uses default topics if not provided.

Maximum string length: 500
Example:

"cyberpunk cityscape at night"

lang_code
string | null

Optional language code for text-to-speech prompts

Maximum string length: 4
Example:

"en"

Response

Sample prompt generated successfully

success
boolean
Example:

true

data
object