v1
latestOpenAPI 3.0.02026-07-228239173.7 KBClient API
Get sample prompts for AI inference tasks based on type and optional topic
get/api/v1/client/prompts/samples
Query parameters
type'text2image' | 'text2speech' required
Example:text2image
Type of sample prompt to generate
topicstring nullable
Example:cyberpunk cityscape at night
Optional topic to base the prompt on. Uses default topics if not provided.
lang_codestring nullable
Example:en
Optional language code for text-to-speech prompts
Response
Sample prompt generated successfully
Example response
{
"success": true,
"data": {
"type": "text2image",
"prompt": "A futuristic cyberpunk cityscape at night, neon lights reflecting off wet streets, towering holographic advertisements, flying cars weaving between glass skyscrapers, cinematic composition, moody, atmospheric, ultra-detailed digital art style."
}
}