xfyun-tti
Installation
SKILL.md
xfyun-tti
AI image generation using the iFlytek Spark Text-to-Image (文生图) API. Create images from text descriptions with configurable resolution.
When to Use
- Generate images from text descriptions (文生图)
- User asks to create/draw/illustrate an image from a prompt
- Need a quick single-image generation (synchronous API, no polling needed)
Prerequisites
- Python 3 (standard library only, no pip install needed)
- Environment variables (get from 讯飞控制台):
XFYUN_APP_ID— Application IDXFYUN_API_KEY— API KeyXFYUN_API_SECRET— API Secret