1. 输入 API Key / Enter API Key
提示:本工具默认通过同站点的 /api/* 代理转发到 https://ai.gitee.com/v1,避免浏览器 CORS 限制。
2. 选择模型 / Select Model
z-image(文生图 / Text-to-Image)
建议:2048 更清晰但更慢更贵;n>1 会输出多张。
Tip: 2048 is sharper but slower/more expensive; n>1 outputs multiple images.
Tip: 2048 is sharper but slower/more expensive; n>1 outputs multiple images.
FLUX.2-dev(文生图 / Text-to-Image)
默认模型 ID:FLUX.2-dev。若 Gitee AI 控制台展示的是其他 FLUX 模型名,只需修改 app.js 里的 FLUX_MODEL。
Tip: Uses the same OpenAI-compatible Images Generations endpoint as z-image.
Tip: Uses the same OpenAI-compatible Images Generations endpoint as z-image.
FLUX.2-dev(图生图 / Image-to-Image)
默认通过 POST /v1/images/edits 发送 multipart/form-data,字段包含 model、prompt、image、size、n。
If your backend uses a different image-to-image path or field name, adjust runFluxImage in app.js.
If your backend uses a different image-to-image path or field name, adjust runFluxImage in app.js.
Edit-2511(图像编辑 / Image Edit)
Notes: Higher steps = slower but more detail; higher guidance = follows prompt more strongly.
Wan 图生视频(Wan2.2 / Wan2.7 Image-to-Video)
说明:选择 Wan2.2 或 Wan2.7 图生视频时都会使用此面板。若服务端单次只能生成固定 5 秒,本工具会按你指定的 Duration 分段生成并下载。
注意:浏览器端无法像桌面版那样用 ffmpeg 合并/裁剪成“一个最终 mp4”;因此多段会分别提供可播放与下载(也可勾选 zip 打包下载)。
EN: If backend returns fixed-length clips, we generate segments and provide playable/downloadable mp4s (optionally zip).
注意:浏览器端无法像桌面版那样用 ffmpeg 合并/裁剪成“一个最终 mp4”;因此多段会分别提供可播放与下载(也可勾选 zip 打包下载)。
EN: If backend returns fixed-length clips, we generate segments and provide playable/downloadable mp4s (optionally zip).
文生视频(HunyuanVideo-1.5 / Wan2.7 Text-to-Video)
说明:选择 HunyuanVideo-1.5 或 Wan2.7 文生视频时都会使用此面板。这是异步任务接口,会先返回 task_id,然后自动轮询状态直至 success/failed。
EN: This is an async endpoint; we create a task, then poll status until success/failed.
EN: This is an async endpoint; we create a task, then poll status until success/failed.