cURL
Prompt Enhancement
Sample Prompts
Get sample prompts for AI inference tasks based on type and optional topic
GET
cURL
This endpoint is shared with v1. v2 clients call the same
/api/v1/client/prompts/samples path.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Type of sample prompt to generate
Available options:
text2image, text2speech Example:
"text2image"
Optional topic to base the prompt on. Uses default topics if not provided.
Maximum string length:
500Example:
"cyberpunk cityscape at night"
Optional language code for text-to-speech prompts
Maximum string length:
4Example:
"en"