Skip to content

Comments

New: add a new plugin seedream_aigc-0.0.1.difypkg【Seedream AIGC: Supports full-featured image and video generation across the series, powered by the latest Doubao Dream models (Seedance-2.0,Seedream-5.0,Seedream-4.5, Seedream-4.0, Seedance-1.5-pro and Seedance-1.0-pro-fast).】#2091

Merged
crazywoola merged 2 commits intolanggenius:mainfrom
sawyer-shi:main-seedream_aigc-0.0.1
Feb 24, 2026

Conversation

@sawyer-shi
Copy link
Contributor

@sawyer-shi sawyer-shi commented Feb 22, 2026

Seedream AIGC

A powerful Dify plugin providing comprehensive AI-powered image and video generation capabilities using Volcengine Doubao's latest Seedream and Seedance models. Supports text-to-image, text-to-video, image-to-image, image-to-video, multi-image fusion, and more with professional-grade quality and flexible configuration options.

Version Information

  • Current Version: v0.0.1
  • Release Date: 2026-02-13
  • Compatibility: Dify Plugin Framework
  • Python Version: 3.12

Version History

  • v0.0.1 (2026-02-13): Initial release with image and video generation capabilities

Quick Start

  1. Install the plugin in your Dify environment
  2. Configure your Volcengine API credentials (API Key)
  3. Start generating images and videos with AI

Key Features

CNEN

  • Multiple Generation Modes: Text-to-image, text-to-video, image-to-image, image-to-video, multi-image fusion
  • Latest AI Models: Supports Seedream 4.0, 4.5, 5.0 Lite for images; Seedance 1.0 Pro, 1.0 Pro Fast, 1.5 Pro, 2.0 for videos
  • Flexible Image Sizes: Multiple aspect ratios from 1:1 to 21:9 with resolutions up to 3024x1296
  • Video Generation: Create videos up to 12 seconds with synchronized audio (Seedance 1.5 Pro)
  • Multi-Image Support: Generate images from multiple reference images (2-14 images)
  • First-Last Frame Video: Create videos from first and last frame images
  • Batch Generation: Generate multiple images in a single request
  • Draft Mode: Quick preview generation for faster iteration
  • Watermark Control: Optional AI-generated watermark for content authenticity

Core Features

Image Generation

Text to Image (text_2_image)

Generate images from text descriptions using Seedream models.

  • Supported Models: Seedream 4.0, Seedream 4.5, Seedream 5.0 Lite
  • Features:
    • Multiple aspect ratios (1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9)
    • High resolution up to 3024x1296
    • Optional watermark
    • Fast generation speed

Image to Image (image_2_image)

Generate images from text and a reference image.

  • Supported Models: Seedream 4.0, Seedream 4.5, Seedream 5.0 Lite
  • Features:
    • Reference image guided generation
    • Multiple aspect ratios
    • Optional watermark
    • Support for jpeg, png, webp, bmp, tiff, gif formats (max 10MB)

Multi-Image Fusion (multi_images_2_image)

Generate an image from text and multiple reference images (2-14 images).

  • Supported Models: Seedream 4.0, Seedream 4.5, Seedream 5.0 Lite
  • Features:
    • Combine up to 14 reference images
    • Intelligent image fusion
    • Multiple aspect ratios
    • Optional watermark

Multi-Image Group (multi_images_2_multi_images)

Generate a group of images from text and multiple reference images.

  • Supported Models: Seedream 4.0, Seedream 4.5, Seedream 5.0 Lite
  • Features:
    • Generate 1-15 images per request
    • Multiple reference images support (2-14)
    • Batch generation
    • Multiple aspect ratios

Video Generation

Text to Video (text_2_video)

Generate videos from text descriptions using Seedance models.

  • Supported Models: Seedance 1.0 Pro, Seedance 1.0 Pro Fast, Seedance 1.5 Pro, Seedance 2.0
  • Features:
    • Duration: 2-12 seconds
    • Resolution: 480p, 720p, 1080p
    • Aspect ratios: 16:9, 4:3, 1:1, 3:4, 9:16, 21:9, adaptive
    • Synchronized audio generation (Seedance 1.5 Pro)
    • Draft mode for quick preview
    • Fixed camera option
    • Service tier selection (default/flex)

Image to Video (image_2_video)

Generate video from a single image with text description.

  • Supported Models: Seedance 1.0 Pro, Seedance 1.0 Pro Fast, Seedance 1.5 Pro, Seedance 2.0
  • Features:
    • Single image input
    • Duration: 2-12 seconds
    • Resolution: 480p, 720p, 1080p
    • Adaptive aspect ratio support
    • Synchronized audio generation
    • Draft mode available

First-Last Frame Video (images_2_video)

Generate video from first and last frame images.

  • Supported Models: Seedance 1.0 Pro, Seedance 1.5 Pro, Seedance 2.0
  • Features:
    • First and last frame input
    • Smooth transition generation
    • Duration: 2-12 seconds
    • Resolution: 480p, 720p, 1080p
    • Synchronized audio generation
    • Draft mode available

Video Query (video_query)

Query the status and results of video generation tasks.

  • Features:
    • Real-time task status
    • Video download URL retrieval
    • Last frame image return option

Technical Advantages

  • Latest AI Models: Access to Doubao's newest Seedream and Seedance models
  • High Quality Output: Professional-grade image and video generation
  • Flexible Configuration: Extensive parameter options for fine-tuning
  • Async Processing: Efficient video generation with task-based workflow
  • Multi-Format Support: Support for various image and video formats
  • Audio Generation: Automatic synchronized audio for videos
  • Batch Processing: Generate multiple images efficiently
  • Draft Mode: Quick preview for faster iteration cycles

Requirements

  • Python 3.12
  • Dify Platform access
  • Volcengine API credentials (API Key)
  • Required Python packages (installed via requirements.txt):
    • dify_plugin>=0.2.0
    • requests>=2.31.0,<3.0.0
    • pillow>=10.0.0,<11.0.0

Installation & Configuration

  1. Install the required dependencies:

    pip install -r requirements.txt
  2. Configure your Volcengine API credentials in the plugin settings:

    • API Key: Your Volcengine API key
  3. Install the plugin in your Dify environment

Usage

Image Generation Tools

1. Text to Image

Generate images from text descriptions.

  • Parameters:
    • prompt: Text description of the image (required)
    • size: Image size (default: 2048x2048)
    • watermark: Enable/disable watermark (default: true)
    • model: Model version (default: Seedream 4.5)

2. Image to Image

Generate images from text and a reference image.

  • Parameters:
    • prompt: Text description (required)
    • input_image_file: Reference image file (required)
    • size: Image size (default: 2048x2048)
    • watermark: Enable/disable watermark (default: true)
    • model: Model version (default: Seedream 4.5)

3. Multi-Image Fusion

Generate an image from multiple reference images.

  • Parameters:
    • prompt: Text description (required)
    • input_image_files: Reference images (2-14 images, required)
    • size: Image size (default: 2048x2048)
    • watermark: Enable/disable watermark (default: true)
    • model: Model version (default: Seedream 4.5)

4. Multi-Image Group

Generate multiple images from reference images.

  • Parameters:
    • prompt: Text description (required)
    • input_image_files: Reference images (2-14 images, required)
    • max_images: Maximum images to generate (1-15, default: 3)
    • size: Image size (default: 2048x2048)
    • watermark: Enable/disable watermark (default: true)
    • model: Model version (default: Seedream 4.5)

Video Generation Tools

5. Text to Video

Generate videos from text descriptions.

  • Parameters:
    • prompt: Text description (max 500 chars, required)
    • model: Model version (default: Seedance 1.5 Pro)
    • resolution: Video resolution (default: 720p)
    • ratio: Aspect ratio (default: 16:9)
    • duration: Duration in seconds (2-12, default: 5)
    • seed: Random seed (-1 for random)
    • camera_fixed: Fixed camera position
    • watermark: Enable/disable watermark
    • generate_audio: Generate synchronized audio
    • draft: Draft mode for quick preview
    • return_last_frame: Return last frame image in query
    • service_tier: Service tier (default/flex)

6. Image to Video

Generate video from a single image.

  • Parameters:
    • prompt: Text description (required)
    • input_image_file: Input image (required)
    • Other parameters same as Text to Video

7. First-Last Frame Video

Generate video from first and last frame images.

  • Parameters:
    • prompt: Text description (required)
    • first_frame_file: First frame image (required)
    • last_frame_file: Last frame image (required)
    • Other parameters same as Text to Video

8. Video Query

Query video generation task status.

  • Parameters:
    • task_id: Video generation task ID (required)
    • download_video: Download video file when available (default: true)

Supported Image Sizes

Aspect Ratio Resolution
1:1 2048x2048
4:3 2304x1728
3:4 1728x2304
16:9 2560x1440
9:16 1440x2560
3:2 2496x1664
2:3 1664x2496
21:9 3024x1296

Notes

  • Video generation is asynchronous; use Video Query to check status and retrieve results
  • Seedance 1.5 Pro supports synchronized audio generation
  • Draft mode provides faster generation for quick previews
  • Flex service tier offers cost-effective processing with longer wait times
  • Maximum prompt length for video generation is 500 characters
  • Reference images should be under 10MB in size
  • Multi-image fusion supports 2-14 reference images

Developer Information

  • Author: https://github.com/sawyer-shi
  • Email: sawyer36@foxmail.com
  • License: Apache License 2.0
  • Source Code: https://github.com/sawyer-shi/dify-plugins-seedream_aigc
  • Support: Through Dify platform and GitHub Issues

License Notice

This project is licensed under Apache License 2.0. See LICENSE file for full license text.


Ready to create stunning images and videos with AI?

Plugin Submission Form

1. Metadata

  • Plugin Author:
  • Plugin Name:
  • Repository URL:

2. Submission Type

  • New plugin submission
  • Version update for existing plugin

3. Description

4. Checklist

  • I have read and followed the Publish to Dify Marketplace guidelines
  • I have read and comply with the Plugin Developer Agreement
  • I confirm my plugin works properly on both Dify Community Edition and Cloud Version
  • I confirm my plugin has been thoroughly tested for completeness and functionality
  • My plugin brings new value to Dify

5. Documentation Checklist

Please confirm that your plugin README includes all necessary information:

  • Step-by-step setup instructions
  • Detailed usage instructions
  • All required APIs and credentials are clearly listed
  • Connection requirements and configuration details
  • Link to the repository for the plugin source code

6. Privacy Protection Information

Based on Dify Plugin Privacy Protection Guidelines:

Data Collection

Privacy Policy

  • I confirm that I have prepared and included a privacy policy in my plugin package based on the Plugin Privacy Protection Guidelines

…orts full-featured image and video generation across the series, powered by the latest Doubao Dream models (Seedance-2.0,Seedream-5.0,Seedream-4.5, Seedream-4.0, Seedance-1.5-pro and Seedance-1.0-pro-fast).】
Copy link
Member

@crazywoola crazywoola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Review Results

Check Status Required Action
Single .difypkg ✅ Pass -
PR language (no CJK) ✅ Pass -
Project structure ✅ Pass -
Manifest author ✅ Pass -
Icon valid ❌ Fail Error checking icon: 'utf-8' codec can't decode byte 0x89 in position 0: invalid start byte
Version not exists ✅ Pass -
README language (no Chinese) ✅ Pass -
PRIVACY.md exists ✅ Pass -
Dependencies install ✅ Pass -
dify_plugin >= 0.5.0 ❌ Fail dify_plugin version 0.2.0 is too old (need >= 0.5.0)
Install test ❌ Fail Install test failed: Testing plugin in directory: /var/folders/c5/ssq8b54n0rj6rbmghy7_2xdm0000gn/T/tmpv9dcmkld/repo/unpacked_plugin
{"version":"0.0.1","type":"plugin","author":"sawyer-shi","name":"seedream_aigc","repo":"https://github.com/sawyer-shi/dify-plugins-seedream_aigc","description":{"zh_Hans":"即梦AIGC:支持全套图片+视频的生成、编辑等操作,使用最新的豆包即梦模型(Seedance-2.0和Seedream-5.0,以及Seedream-4.0, Seedream-4.5、Seedance-1.0-pro-fast 和 Seedance-1.5-pro)。","pt_BR":"Seedream AIGC: Supports full-featured image and video generation across the series, powered by the latest Doubao Dream models (Seedance-2.0,Seedream-5.0,Seedream-4.5, Seedream-4.0, Seedance-1.5-pro and Seedance-1.0-pro-fast).","ja_JP":"Seedream AIGC: Supports full-featured image and video generation across the series, powered by the latest Doubao Dream models (Seedance-2.0,Seedream-5.0,Seedream-4.5, Seedream-4.0, Seedance-1.5-pro and Seedance-1.0-pro-fast).","en_US":"Seedream AIGC: Supports full-featured image and video generation across the series, powered by the latest Doubao Dream models (Seedance-2.0,Seedream-5.0,Seedream-4.5, Seedream-4.0, Seedance-1.5-pro and Seedance-1.0-pro-fast)."},"icon":"icon.png","icon_dark":null,"label":{"zh_Hans":"即梦AIGC","pt_BR":"Seedream AIGC","ja_JP":"Seedream AIGC","en_US":"Seedream AIGC"},"created_at":"2026-02-13T11:23:01.059632+08:00","resource":{"memory":268435456,"permission":{"tool":{"enabled":true},"model":{"enabled":true,"llm":false,"text_embedding":false,"rerank":false,"tts":false,"speech2text":false,"moderation":false},"node":null,"endpoint":{"enabled":true},"app":{"enabled":true},"storage":{"enabled":true,"size":1048576}}},"plugins":{"tools":["provider/seedream_aigc.yaml"],"models":[],"endpoints":[],"agent_strategies":[],"datasources":[],"triggers":[]},"meta":{"version":"0.0.1","arch":["amd64","arm64"],"runner":{"language":"python","version":"3.12","entrypoint":"main"},"minimum_dify_version":null}}

{"event": "log", "data": {"level": "INFO", "message": "Installed tool: seedream_aigc", "timestamp": 1771898197.175192}}
{"event":"heartbeat","session_id":null,"data":{}}

{"event":"heartbeat","session_id":null,"data":{}}

!!! Force exit after 20 seconds
!!! Plugin test result: failed
!!! Process exited, here is the stderr:

================================================
!!! Have you tested it locally?
|
| Packaging test | ✅ Pass | - |

Next steps

Please address the failed checks above.

Copy link
Member

@crazywoola crazywoola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-review (concise)

Re-reviewed with concise notes (raw logs removed from the review body).

Check Status Required action
dify_plugin >= 0.5.0 ❌ Fail Update the plugin dependency to dify_plugin>=0.5.0.
Install verification ❌ Fail Install validation did not pass in reviewer pre-check. Please use CI logs to identify and fix the root cause.
Packaging test ✅ Pass No action needed.

Next steps

  1. Bump dify_plugin to >=0.5.0.
  2. Re-run CI and confirm install verification passes.
  3. Push updates and request re-review.

@sawyer-shi
Copy link
Contributor Author

sawyer-shi commented Feb 24, 2026 via email

…orts full-featured image and video generation across the series, powered by the latest Doubao Dream models (Seedance-2.0,Seedream-5.0,Seedream-4.5, Seedream-4.0, Seedance-1.5-pro and Seedance-1.0-pro-fast).】
@crazywoola crazywoola merged commit 68813b3 into langgenius:main Feb 24, 2026
2 checks passed
@sawyer-shi sawyer-shi deleted the main-seedream_aigc-0.0.1 branch February 24, 2026 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants