APIPrompt Enhancement
Technical Reference
Sample Prompts Generator
Technical documentation for dryAPI APIs, integration guides, and operational references.
Generate creative sample prompts for AI inference tasks. Perfect for inspiration, testing, or quick starting points.
NOTE
Supported types:
text2imageandtext2speech. Optionally provide atopicparameter to guide the generation toward a specific theme.
OpenAPI
Client Get Sample Prompts
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Query Parameters
type*string
Type of sample prompt to generate
Value in
"text2image" | "text2speech"topic?|
Optional topic to base the prompt on. Uses default topics if not provided.
Length
length <= 500lang_code?|
Optional language code for text-to-speech prompts
Length
length <= 4Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://api.dryapi.dev/api/v1/client/prompts/samples?type=text2image"{
"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."
}
}{
"data": {},
"message": "string",
"errors": [
null
],
"statusCode": 0
}{
"data": {},
"message": "string",
"errors": [
{
"field": "string",
"messages": [
null
]
}
],
"statusCode": 0
}{
"success": false,
"error": "Failed to generate sample prompt",
"message": "OpenAI API request failed"
}Last updated on 21 March 2026