ernie-image-visual-promptsmith
Installation
SKILL.md
ERNIE-Image Visual Promptsmith
Use this community skill to craft ERNIE-Image prompts and generate images through the AI Studio ERNIE-Image-Turbo endpoint. It is not official Baidu or ERNIE-Image software.
Decide the Mode
- Generate immediately when the user asks to generate, draw, create, make an image, or uses equivalent Chinese generation wording.
- Return prompt-only guidance when the user asks to optimize, rewrite, improve, or review a prompt.
- Ask one concise question only if an exact visible text string, language, or required aspect ratio is missing and guessing would likely break the result.
API Endpoint
- Base:
https://aistudio.baidu.com/llm/lmapi/v3 - Submit:
POST /images/generations - Full URL:
https://aistudio.baidu.com/llm/lmapi/v3/images/generations - Auth header:
Authorization: bearer <BAIDU_AISTUDIO_API_KEY> - Platform header:
X-Client-Platform: aistudio