Home

Awesome

中文版

Agentic Story Book Workflow

A multi-agent workflow framework for creating children's picture books based on AutoGen.

https://github.com/user-attachments/assets/323d055a-27d9-487f-b8c4-2fad2df649cc

Agentic workflow

MultiAgent The code involves various multi-agent collaboration methods based on AutoGen. For example:

System Requirements

How to use

pip install -r requirements.txt
python app.py
python generate.py

.env configurations

Enviroment NameDescriptionDefault Value
AGENTOPS_API_KEYAgentOps API Key
MODELdeployment name on azure or model name on OpenAI
API_VERSIONAPI Version'2024-06-01'
API_TYPE'azure' or 'openai'azure
API_KEYAPI Key
BASE_URLAPI base url, Azure should be like 'https://{region_name}.openai.azure.com/'
IMAGE_GENERATION_TYPE'azure', 'openai' or 'replicate'
IMAGE_SHAPE'landscape', 'portrait' or 'square'landscape
DALLE_MODELdeployment name on azure or model name on OpenAI
DALLE_API_VERSIONAPI Version'2024-06-01'
DALLE_API_KEYAPI Key
DALLE_BASE_URLAPI base url, Azure should be like 'https://{region_name}.openai.azure.com/'
DALLE_IMAGE_QUALITY'hd' or 'standard''hd'
DALLE_IMAGE_STYLE'vivid' or 'natural''vivid'
REPLICATE_API_TOKENrepilicate api key
REPLICATE_MODEL_NAME'black-forest-labs/flux-schnell', 'black-forest-labs/flux-dev' or 'black-forest-labs/flux-pro''black-forest-labs/flux-schnell'
IMAGE_GENERATION_RETRIESmax retry count per image3
IMAGE_CRITICISM_RETRIESmax critic count per image2
IMAGE_SAVE_FAILURED_IMAGESsave the critic failed image:True or FalseFalse
AZURE_SPEECH_KEYAzure voice API Key
AZURE_SPEECH_REGIONAzure voice deploy region
AZURE_SPEECH_VOICE_NAMEAzure voice speaker name'zh-CN-XiaoxiaoMultilingualNeural'

Roadmap

FAQ

Others

See some generated content demos here