Generate Article with Images

2 Steps

Generate English article with images, no translation

← Back to Workflows

Workflow Flow

1

Generate EN Article

ON
📝 Article Gen
model: gemini-2.0-flash-exp
use_memory: ✓ Yes
2

Generate Images

ON
🖼️ Image Gen
model: flash
aspect_ratio: 16:9
resolution: 1K

Step Details

1

Generate EN Article

Article Generation ENABLED

Generates English article content using Google Gemini AI with memory-aware context for consistent writing style.

Configuration

Model gemini-2.0-flash-exp
Use_Memory ✓ true
2

Generate Images

Image Generation ENABLED

Scans article content for image prompts (e.g., [Image: ...]) and generates actual images, replacing prompts with image URLs.

Configuration

Model flash
Aspect_Ratio 16:9
Resolution 1K

API Usage Example

// Generate article using this workflow
fetch('/plans/{plan_id}/generate/', {
    method: 'POST',
    headers: {
        'Content-Type': 'application/json',
        'X-CSRFToken': getCookie('csrftoken')
    },
    body: JSON.stringify({
        workflow_name: '',
        custom_config: {
            // Optional: override step configurations
            image_generation: {
                resolution: '2K',  // Change to 2K resolution
                aspect_ratio: '16:9'
            }
        }
    })
});