# Generate social media posts and images with Groq, OpenAI and Google Drive

> Quick overview This workflow collects an image idea via an n8n Form, uses Groq to generate an optimized image prompt, creates an image with OpenAI, uploads it to Google Drive, then generates Instagram/LinkedIn/X copy and returns an HTML page showing the posts and image link. How it works 1. Receives an image idea and a target resolution from an n8n Form submission. 2. Uses Groq (openai/gpt-oss-120b) to turn the user input into a structured image-generation prompt. 3. Generates an image with OpenAI (gpt-image-1-mini) using the prompt and selected resolution. 4. Uploads the generated image to a specified Google Drive folder and captures a shareable link. 5. Uses Groq to generate platform-specific posts for Instagram, LinkedIn, and X (Twitter) based on the image prompt. 6. Uses Groq to convert the social posts plus the Google Drive image link into a structured HTML page. 7. Displays the generated HTML as the form completion response. Setup 1. Add Groq API credentials for the prompt genera

- **Domain**: `n8n-workflow-19932.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/19932
- Page (HTML): https://agenstry.com/agents/n8n-workflow-19932.n8n.io
- Documentation: https://n8n.io/workflows/19932
