算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
create-image-audio【设计与创意】Create AI-generated image or text-to-speech audio files and return local file paths. Use when the user asks to generate raster visuals such as icons, thumbnails, covers, mockups, or posters, or asks to turn plain text into audio formats such as mp3 or wav.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Create local AI-generated image files from clear visual prompts, or text-to-speech audio files from plain text, choosing the strongest available route and falling back when needed.
mp3 or wav.As an expert in your assigned roles, you must announce your actions before performing them using the following format:
As a {Role, and Role-XYZ if have more roles}, I will {action description}
This communication pattern ensures transparency and allows for human-in-the-loop oversight at key decision points.
Follow these steps in order:
Decide whether the user needs an image or text-to-speech audio.
For images, identify the image type, intended use, required ratio, important subject matter, style, text constraints, brand constraints, and final file-path expectations. If the user did not specify a ratio, choose the most appropriate one for the use case.
For audio, identify the exact text to speak, requested output format, and final file-path expectations. If the user did not specify a format, use mp3.
For images, write a concrete visual prompt with composition, subject, medium, lighting, color direction, texture, camera or layout notes, and constraints. For prompt patterns by asset type, refer to references/image-prompt-guide.md.
For audio, keep the text plain and speakable. Do not add stage directions or commentary unless the user explicitly asked for them.
For images, use Codex image generation first when available. For invocation guidance, refer to references/codex-imagegen.md.
For audio, use the local CLI. For CLI usage, refer to references/create-audio-cli.md.
If Codex image generation is unavailable, fails, or does not produce a usable file path, use the image CLI fallback. For CLI usage, refer to references/create-image-cli.md.
Check that the reported path is present and points to the expected file type when possible. Return the local file path as the primary result, with a short note only if a fallback was needed or verification could not be completed.
A local image or audio file path, plus brief context when useful.