Quick Overview
This workflow receives a webhook with an image-edit prompt, a video-motion prompt, and a caption, generates a stylized image with AtlasCloud (OpenAI GPT Image 2) and a vertical video with AtlasCloud (ByteDance Seedance 2.0), then publishes the result to Facebook, TikTok, and Instagram via Blotato.
How it works
- Receives a POST webhook request containing
prompt, prompt_video, and an optional caption.
- Sends the prompt and a configured source image URL to AtlasCloud’s OpenAI GPT Image 2 edit endpoint to generate a new image.
- Polls AtlasCloud until the image job completes (or stops with an error on failure) and extracts the generated image URL.
- Sends the generated image URL and motion prompt to AtlasCloud’s ByteDance Seedance 2.0 image-to-video endpoint to render a 9:16 video.
- Polls AtlasCloud until the video job completes (or stops with an error on failure) and extracts the generated video URL.
- Publishes the generated media and caption to TikTok and Instagram via Blotato, and posts the generated image to a configured Facebook page via Blotato.
Setup
- Add your AtlasCloud API key by replacing the
Authorization: Bearer YOUR_API_HERE header value in all AtlasCloud HTTP requests.
- Set the source
profile_image_url (the input image URL) and provide your target Blotato account IDs (Facebook page/account, TikTok, and Instagram) in the configuration values.
- Connect your Blotato API credentials and ensure your Blotato account is linked to the Facebook Page, TikTok account, and Instagram account you want to publish to.
- Copy the webhook URL from n8n and configure your calling app to POST
prompt, prompt_video, and caption to it.