Content Creation
image_prompt
Create optimized prompts for AI image generation
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| subject | string | Optional | — | Main subject or concept for the image. Uses project niche if not specified. |
| image_purpose | string | Optional | hero | Purpose: 'hero', 'section', 'diagram', 'comparison', 'infographic'. |
| mood | string | Optional | — | Desired mood. Uses project visual style if not specified. |
Example
Create a hero image prompt:
Request
{
"subject": "React development workflow",
"image_purpose": "hero",
"mood": "modern and professional"
}Response
{
"prompt": "Modern React development workspace, clean code on multiple monitors, component architecture visualization, professional tech environment, soft blue accent lighting, minimalist design, 4k quality, editorial photography style",
"negative_prompt": "cluttered, outdated technology, cartoon style",
"recommended_settings": {
"aspect_ratio": "16:9",
"style": "photorealistic",
"quality": "high"
}
}Tips
Best Practices
- Use 'hero' for main article images
- 'diagram' creates more technical visuals
- Generated prompts work with fal.ai, Gemini, or Wiro
- Pass output to generate_image for actual image creation