Video de Youtube a Post Automático
Automatización que transforma videos de YouTube en publicaciones para redes sociales, incluyendo resumen del contenido e imagen generada con IA.
+2
graph TD
%%{init: {'theme': 'mc','layout': 'elk'}}%%
CombineText-atea2[Combine Text]
style CombineText-atea2 stroke:#a170ff
ChatOutput-l0kif[<div><img src="/_astro/messages-square.BaSDmT6g.svg" style="height: 20px !important;width: 20px !important"/></div>Chat Output]
style ChatOutput-l0kif stroke:#a170ff
TextInput-m2egg[<div><img src="/_astro/type.Dy26vmDy.svg" style="height: 20px !important;width: 20px !important"/></div>VIDEO URL]
style TextInput-m2egg stroke:#a170ff
Prompt-wss2e[<div><img src="/_astro/square-terminal.BMOXc-nZ.svg" style="height: 20px !important;width: 20px !important"/></div>Blog Summary]
style Prompt-wss2e stroke:#a170ff
ParseData-mh1rk[<div><img src="/_astro/braces.Djq0PW4_.svg" style="height: 20px !important;width: 20px !important"/></div>Extract transcript]
style ParseData-mh1rk stroke:#a170ff
OpenAIModel-v6p19[<div><img src="/_astro/openAI.BhmuxEs3.svg" style="height: 20px !important;width: 20px !important"/></div>OpenAI]
style OpenAIModel-v6p19 stroke:#a170ff
youtube_transcripts-wdsaq[YouTube Transcripts]
style youtube_transcripts-wdsaq stroke:#a170ff
Prompt-ek8pp[<div><img src="/_astro/square-terminal.BMOXc-nZ.svg" style="height: 20px !important;width: 20px !important"/></div>Image Prompt]
style Prompt-ek8pp stroke:#a170ff
DallEImageGenerator-tuo20[<div><img src="/_astro/openAI.BhmuxEs3.svg" style="height: 20px !important;width: 20px !important"/></div>DALL·E Image Generator]
style DallEImageGenerator-tuo20 stroke:#a170ff
JsCode-j6muq[Uri Builder]
style JsCode-j6muq stroke:#a170ff
ParseData-e7as5[<div><img src="/_astro/braces.Djq0PW4_.svg" style="height: 20px !important;width: 20px !important"/></div>Parse]
style ParseData-e7as5 stroke:#a170ff
CombineText-atea2 -.- ChatOutput-l0kif
linkStyle 0 stroke:#a170ff
TextInput-m2egg -.- Prompt-wss2e
linkStyle 1 stroke:#a170ff
ParseData-mh1rk -.- Prompt-wss2e
linkStyle 2 stroke:#a170ff
Prompt-wss2e -.- OpenAIModel-v6p19
linkStyle 3 stroke:#a170ff
OpenAIModel-v6p19 -.- CombineText-atea2
linkStyle 4 stroke:#a170ff
TextInput-m2egg -.- youtube_transcripts-wdsaq
linkStyle 5 stroke:#a170ff
youtube_transcripts-wdsaq -.- ParseData-mh1rk
linkStyle 6 stroke:#a170ff
Prompt-ek8pp -.- DallEImageGenerator-tuo20
linkStyle 7 stroke:#a170ff
DallEImageGenerator-tuo20 -.- JsCode-j6muq
linkStyle 8 stroke:#a170ff
OpenAIModel-v6p19 -.- Prompt-ek8pp
linkStyle 9 stroke:#a170ff
JsCode-j6muq -.- ParseData-e7as5
linkStyle 10 stroke:#a170ff
ParseData-e7as5 -.- CombineText-atea2
linkStyle 11 stroke:#a170ff
Video de Youtube a Post Automático
🧩 Overview
This workflow automates the transformation of YouTube video content into engaging social media posts. It extracts the video's transcript, generates a concise summary and an optimized post, and creates a complementary AI-generated image. The final output is a complete, ready-to-publish social media post that combines text and visual elements, streamlining content creation from video sources.
⚙️ Main Features
- Automatically extracts the full transcript from a provided YouTube video URL.
- Generates a summary and a compelling social media post with emojis and a call to action using a large language model.
- Creates a custom, vivid image based on the generated content summary using an AI image model.
- Combines the generated text and image into a single, formatted output for easy preview and use.
🔄 Workflow Steps
| Component Name | Role in the Workflow | Key Inputs | Key Outputs |
|---|---|---|---|
| VIDEO URL (Text Input) | Captures the user-provided YouTube video URL. | Manual URL input | YouTube video URL |
| YouTube Transcripts | Extracts the spoken content from the provided video. | YouTube video URL | Raw video transcript data |
| Extract Transcript (Parse Data) | Converts the raw transcript data into plain text. | Raw transcript data | Formatted video transcription text |
| Blog Summary (Prompt) | Constructs a structured instruction combining the transcription and URL for the AI model. | Video transcription text, Source URL | Structured prompt for content generation |
| OpenAI Model (GPT-4o-mini) | Generates a video summary and an optimized social media post based on the prompt. | Structured generation prompt | Generated summary and social media post text |
| Image Prompt | Prepares an image generation prompt based on the AI-generated content summary. | AI-generated content summary | Image generation prompt |
| DALL·E 3 Image Generator | Creates a vivid, high-quality image from the provided text prompt. | Image generation prompt | Generated image data |
| Uri Builder (JavaScript) | Converts the generated image data into a Markdown-compatible data URI format. | Generated image data | Image formatted as a Markdown string |
| Parse | Converts the processed image data into a plain text string for combination. | Formatted image data | Image as a text string |
| Combine Text | Merges the generated social media post text with the image Markdown string. | Social media post text, Image text string | Combined post with embedded image |
| Chat Output | Displays the final, combined social media post within the Playground interface. | Combined post content | Visualized final output |
🧠 Notes
- The workflow requires a valid OpenAI API credential to power both the text generation (GPT-4o-mini) and image generation (DALL·E 3) components.
- The text generation is configured for consistency with a low temperature setting.
- The image is generated with a specific style and resolution (vivid, 1024x1024).
- The final output is formatted in Markdown, making it suitable for platforms that support this format.