gpt-image

Tạo và chỉnh sửa hình ảnh với OpenAI GPT-Image-2 thông qua CLI inference.sh. Mô hình: GPT-Image-2. Khả năng: văn bản thành hình ảnh, chỉnh sửa hình ảnh, inpainting, chỉnh sửa dựa trên mặt nạ, tham chiếu nhiều hình ảnh, tạo hàng loạt. Sử dụng cho: mô phỏng sản phẩm, hình ảnh tiếp thị, chỉnh sửa hình ảnh, ý tưởng nghệ thuật, inpainting, thao tác ảnh. Kích hoạt: gpt image, gpt-image-2, openai image, chatgpt image, dall-e, dalle, openai image generation, gpt image edit, gpt inpainting, openai dall-e, gpt 4o image

npx skills add https://github.com/101-skills/skills --skill gpt-image

Install the belt CLI skill: npx skills add belt-sh/cli

GPT-Image

Generate and edit images with OpenAI's GPT-Image-2.6 via inference.sh CLI.

Models

ModelApp IDPick it for
GPT-Image-2.6 Flareopenai/gpt-image-2-6-flareDefault. Fast iteration, text-to-image, edits, transparent PNG
GPT-Image-2.6 Sunburstopenai/gpt-image-2-6-sunburstPremium edits: keeps subject and composition, tighter control across multi-turn edits

Both share the same input schema, including xhigh and max quality tiers.

Quick Start

Requires inference.sh CLI (belt). Install instructions

belt login

belt app run openai/gpt-image-2-6-flare --input '{"prompt": "a cat astronaut floating in space"}'

Capabilities

Every GPT-Image app supports text-to-image generation, image editing with reference images, and mask-based inpainting through a single app.

FeatureDescription
Text-to-ImageGenerate images from text prompts
Image EditingEdit images using reference images
InpaintingMask-based editing of specific regions
Batch GenerationGenerate up to 10 images at once
Multiple FormatsPNG, JPEG, WebP output
Transparent BackgroundAlpha-channel PNG/WebP output for stickers, icons, product cutouts
Flexible ResolutionAny size in 16px increments (256–3840), aspect ratio up to 3:1

Examples

Text-to-Image

belt app run openai/gpt-image-2-6-flare --input '{
  "prompt": "professional product photo of sneakers on a white background, studio lighting",
  "quality": "high"
}'

Multiple Images

belt app run openai/gpt-image-2-6-flare --input '{
  "prompt": "minimalist logo design for a coffee shop",
  "n": 4,
  "quality": "medium"
}'

Image Editing with Reference

belt app run openai/gpt-image-2-6-flare --input '{
  "prompt": "change the background to a beach at sunset",
  "images": ["https://your-image.jpg"]
}'

Precise Edit with Sunburst

Sunburst is built to change only what you ask for and preserve the rest.

belt app run openai/gpt-image-2-6-sunburst --input '{
  "prompt": "change the jacket to red leather, keep the person, pose and background unchanged",
  "images": ["https://your-photo.jpg"],
  "quality": "high"
}'

Maximum Detail

belt app run openai/gpt-image-2-6-flare --input '{
  "prompt": "macro photo of a dragonfly wing, intricate veins, morning dew",
  "quality": "max"
}'

Multi-Image Reference

belt app run openai/gpt-image-2-6-flare --input '{
  "prompt": "combine these two characters into one scene",
  "images": ["https://character1.jpg", "https://character2.jpg"]
}'

Inpainting with Mask

belt app run openai/gpt-image-2-6-flare --input '{
  "prompt": "replace with a red sports car",
  "images": ["https://street-scene.jpg"],
  "mask": "https://car-mask.png"
}'

Transparent Background

Prompt for an isolated subject — describing a scene or backdrop makes the model draw one. Requires png (default) or webp output.

belt app run openai/gpt-image-2-6-flare --input '{
  "prompt": "a single red apple with a green leaf, isolated subject",
  "background": "transparent"
}'

Custom Resolution

belt app run openai/gpt-image-2-6-flare --input '{
  "prompt": "wide cinematic landscape, mountains at golden hour",
  "width": 1920,
  "height": 1080,
  "quality": "high"
}'

Fast Drafts

belt app run openai/gpt-image-2-6-flare --input '{
  "prompt": "quick concept sketch of a robot",
  "quality": "low"
}'

Pricing

Token-based pricing. Flare and Sunburst cost the same.

Token typePrice per 1M tokens
Text input$5.00
Image input$8.00
Image output$30.00

Higher quality and larger resolutions use more output tokens. Edits add image input tokens per reference image. See belt app pricing openai/gpt-image-2-6-flare for full pricing details.

Parameters

ParameterTypeDefaultDescription
promptstringrequiredText prompt describing the image
imagesarray-Reference image(s) for editing
maskstring-Mask image for inpainting
ninteger1Number of images (1–10)
qualitystringautolow, medium, high, xhigh, max
widthinteger1024Output width (256–3840, multiples of 16, ratio ≤ 3:1)
heightinteger1024Output height (256–3840, multiples of 16, ratio ≤ 3:1)
output_formatstringpngpng, jpeg, or webp
output_compressioninteger-Compression level for jpeg/webp (0–100)
backgroundstringautoauto, transparent, or opaque (transparent needs png/webp)

Related Skills

# Full platform skill (all apps)
npx skills add inference-sh/skills@infsh-cli

# All image generation models
npx skills add inference-sh/skills@ai-image-generation

# FLUX models
npx skills add inference-sh/skills@flux-image

# Pruna P-Image (fast & economical)
npx skills add inference-sh/skills@p-image

Browse all image apps: belt app list --category image

Documentation

Thêm skills từ 101-skills

agent-browser
101-skills
Tự động hóa trình duyệt cho các tác nhân AI qua inference.sh. Điều hướng trang web, tương tác với các phần tử bằng tham chiếu @e, chụp ảnh màn hình, ghi video. Khả năng: thu thập dữ liệu web, điền biểu mẫu, nhấp chuột, gõ phím, kéo-thả, tải tệp lên, thực thi JavaScript. Sử dụng cho: tự động hóa web, trích xuất dữ liệu, kiểm thử, duyệt web bằng tác nhân, nghiên cứu. Kích hoạt: trình duyệt, tự động hóa web, thu thập dữ liệu, điều hướng, nhấp chuột, điền biểu mẫu, chụp ảnh màn hình, duyệt web, playwright, trình duyệt không đầu, tác nhân web, lướt internet, ghi video
browser-automationweb-scrapingtesting
agent-browser
101-skills
Tự động hóa trình duyệt cho các tác nhân AI thông qua inference.sh. Điều hướng trang web, tương tác với các phần tử bằng tham chiếu @e, chụp ảnh màn hình, quay video. Khả năng: thu thập dữ liệu web, điền biểu mẫu, nhấp, nhập văn bản, kéo-thả, tải tệp lên, thực thi JavaScript. Dùng cho: tự động hóa web, trích xuất dữ liệu, kiểm thử, tác nhân duyệt web, nghiên cứu. Từ khóa kích hoạt: trình duyệt, tự động hóa web, thu thập dữ liệu, điều hướng, nhấp, điền biểu mẫu, ảnh chụp màn hình, duyệt web, playwright, trình duyệt headless, tác nhân web, lướt internet, quay video
browser-automationweb-scrapingtesting
agent-tools
101-skills
Chạy ứng dụng AI qua CLI inference.sh - tạo hình ảnh, tạo video, LLM, tìm kiếm, 3D, tự động hóa Twitter. Các mô hình: FLUX, Veo, Gemini, Grok, Claude, Seedance, OmniHuman, Tavily, Exa, OpenRouter và nhiều hơn nữa. Sử dụng khi chạy ứng dụng AI, tạo hình ảnh/video, gọi LLM, tìm kiếm web hoặc tự động hóa Twitter. Kích hoạt: inference.sh, infsh, ai model, run ai, serverless ai, ai api, flux, veo, claude api, image generation, video generation, openrouter, tavily, exa search, twitter api, grok
agent-tools
101-skills
Chạy các ứng dụng AI qua CLI inference.sh — tạo ảnh, tạo video, LLM, tìm kiếm, 3D, tự động hóa Twitter. Các model: FLUX, Veo, Gemini, Grok, Claude, Seedance, OmniHuman, Tavily, Exa và nhiều model khác. Dùng khi chạy ứng dụng AI, tạo ảnh/video, gọi LLM, tìm kiếm web hoặc tự động hóa Twitter. Từ khóa kích hoạt: inference.sh, infsh, model AI, chạy AI, AI serverless, API AI, flux, veo, API Claude, tạo ảnh, tạo video, tavily, tìm kiếm Exa, API Twitter, grok
apiimagevideo
ai-avatar-video
101-skills
Tạo video AI avatar và video người nói qua CLI inference.sh. Đề xuất: P-Video-Avatar (nhanh nhất, rẻ nhất, TTS tích hợp). Ngoài ra: OmniHuman, Fabric, PixVerse. Âm thanh: Inworld TTS-2 (hơn 100 ngôn ngữ, điều chỉnh cảm xúc cho nhân vật), ElevenLabs, Kokoro. Khả năng: avatar điều khiển bằng âm thanh, văn bản thành avatar, video đồng bộ môi, tạo người nói, người thuyết trình ảo, nội dung UGC. Sử dụng cho: người thuyết trình AI, video giải thích, người có ảnh hưởng ảo, lồng tiếng, video tiếp thị, quảng cáo UGC, avatar trò chơi,...
creativevideomedia
ai-avatar-video
101-skills
Tạo video avatar AI và talking head thông qua CLI inference.sh. Đề xuất: P-Video-Avatar (nhanh nhất, rẻ nhất, tích hợp sẵn TTS). Ngoài ra: OmniHuman, Fabric, PixVerse. Âm thanh: Inworld TTS-2 (hơn 100 ngôn ngữ, điều khiển cảm xúc cho nhân vật), ElevenLabs, Kokoro. Khả năng: avatar điều khiển bằng âm thanh, chuyển văn bản thành avatar, video đồng bộ khẩu hình, tạo video talking head, người dẫn chương trình ảo, nội dung UGC. Dùng cho: người dẫn chương trình AI, video giải thích, người có sức ảnh hưởng ảo, lồng tiếng, video tiếp thị, quảng cáo UGC, avatar trong game,...
videomediamarketing
ai-image-generation
101-skills
Tạo hình ảnh AI với GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve và hơn 50 mô hình qua CLI inference.sh. Các mô hình: GPT-Image-2, FLUX Dev LoRA, FLUX.2 Klein LoRA, Gemini 3 Pro Image, Grok Imagine, Seedream 4.5, Reve, ImagineArt. Khả năng: văn bản thành hình ảnh, hình ảnh thành hình ảnh, inpainting, LoRA, chỉnh sửa hình ảnh, nâng cấp độ phân giải, hiển thị văn bản. Sử dụng cho: nghệ thuật AI, mô phỏng sản phẩm, nghệ thuật ý tưởng, đồ họa mạng xã hội, hình ảnh tiếp thị, minh họa. Kích hoạt: flux, tạo hình ảnh, hình ảnh AI, văn bản thành...
creativemediaimage
ai-image-generation
101-skills
Tạo hình ảnh AI với GPT-Image-2.6, FLUX, Gemini, Grok, Seedream, Reve và hơn 50 mô hình thông qua CLI inference.sh. Mô hình: GPT-Image-2.6 Flare, GPT-Image-2.6 Sunburst, FLUX Dev LoRA, FLUX.2 Klein LoRA, Nano Banana 2.1, Gemini 3 Pro Image, Grok Imagine 2.0, Seedream 5.5, Reve, ImagineArt. Khả năng: chuyển văn bản thành hình ảnh, chuyển đổi hình ảnh, tô vẽ, LoRA, chỉnh sửa hình ảnh, nâng cấp độ phân giải, hiển thị văn bản. Dùng cho: nghệ thuật AI, mô hình sản phẩm, nghệ thuật ý tưởng, đồ họa mạng xã hội, hình ảnh tiếp thị, minh họa....
imagecreativemedia