Freegen image-gen API: TXT2IMG, I2I, Inpainting, RemoveBG, Upscale via local freegen container. Supports Flux, SDXL, SD1.5, Lightning models.
Design & media
dezgo-img-gen
Try itGenerate and edit images via freegen container: TXT2IMG, IMG2IMG, Inpainting, RemoveBG, Upscale. Flux, SDXL, SD1.5 models.
What it does
Generate and edit images via freegen container: TXT2IMG, IMG2IMG, Inpainting, RemoveBG, Upscale. Flux, SDXL, SD1.5 models.
The skill document
Dezgo Image Generation
Generate images via the local freegen container at http://freegen:3000.
POST /generate
Required fields: prompt, category (or model for flux/backwards compat)
| category | Description | Model param |
|---|---|---|
flux | Fast everyone-model | none needed |
sdxl | High-res SDXL | dreamshaperxl_1024px, juggernautxl_1024px, ponyxl_6 |
sd1 | SD 1.5 many models | realistic_vision_5_1, deliberate_2, juggernaut_reborn |
sdxl2 | Lightning fast | juggernautxl_10_hyper, dreamshaperxl_lightning |
i2i | Image-to-image | realistic_vision_5_1, dreamshaper_8 |
inpaint | Fill area (mask) | SD 1.5 inpainting |
inpaint_sdxl | Fill area (SDXL) | SDXL inpainting |
textinpaint | Fill by description | dreamshaper_8_inpaint |
controlnet | Structure-guided | canny, hed, openpose, depth |
edit | Edit image | SD 1.5 |
removebg | Remove background | none |
upscale | Upscale 2x-4x | none |
Examples
Flux (fast, no model selection needed):
{"prompt": "a cute cat", "model": "flux", "width": 1024, "height": 1024}
SDXL (with model selection):
{"prompt": "portrait of a woman", "category": "sdxl", "model": "juggernautxl_1024px", "width": 1024, "height": 1024}
IMG2IMG:
{"prompt": "red dress", "category": "i2i", "model": "realistic_vision_5_1", "init_image": "data:image/png;base64,..."}
Image tools
- RemoveBG:
{"category": "removebg", "init_image": "data:image/png;base64,..."} - Upscale:
{"category": "upscale", "init_image": "data:image/png;base64,...", "scale": 2} - Inpainting:
{"category": "inpaint_sdxl", "prompt": "filling item", "init_image": "data:image/png;base64,...", "mask_image": "data:image/png;base64,..."} - Text Inpainting:
{"category": "textinpaint", "mask_prompt": "shirt", "prompt": "blue shirt", "init_image": "data:image/png;base64,..."}
General options
width,height– image dimensionssteps– quality vs speed (flux: 4, sdxl: 20-30, sd1: 20-30)guidance– prompt adherence (default 7, sdxl2 lightning: 2)seed– reproducible resultssampler– auto, dpmpp_2m_karras, euler, etc.
Response
Returns JSON: {success, file, url, size, elapsed, cost, balance, model, sub_model}
GET /info
Lists available models for each category.
GET /health
Container health check.
Related skills
Generate images from text with a free-quota-first multi-provider workflow. Use this skill when a user asks for text-to-image generation that needs provider r...
Generate AI images via GoAI API. Use when the user asks to create, generate, draw, edit, render, or make images, pictures, illustrations, posters, avatars, p...
通过文本描述生成图片,支持多种比例与标准分辨率,适合个人创作者快速出图。Use when 需要AI模型调用、智能对话、Agent编排、LLM应用时使用。不适用于需要100%确定性的关键决策。适用于独立开发者、企业团队和自动化工作流场景。支持中文交互,无需复杂配置即开即用。输出结果可直接使用,减少二次加工成本。
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparen...
Generate or edit raster images by calling the ChatGPT/Codex Responses image_generation tool directly with local Codex or OpenClaw OAuth credentials, then sav...