gpt-image

Générer et éditer des images avec OpenAI GPT-Image-2 via l'interface CLI inference.sh. Modèles : GPT-Image-2. Capacités : texte vers image, édition d'images, inpainting, édition basée sur masque, référence multi-image, génération par lots. Utilisation pour : maquettes de produits, visuels marketing, édition d'images, concept art, inpainting, manipulation photo. Déclencheurs : 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/qu-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.5 and GPT-Image-2 via inference.sh CLI.

Models

ModelApp IDPick it for
GPT-Image-2.5 Flareopenai/gpt-image-2-5-flareDefault. Higher quality than GPT-Image-2 at 50% lower latency
GPT-Image-2.5 Sunburstopenai/gpt-image-2-5-sunburstPremium edits: keeps subject and composition, tighter control across multi-turn edits
GPT-Image-2openai/gpt-image-2Previous generation

All three share the same input schema. The 2.5 models add xhigh and max quality tiers.

Quick Start

Requires inference.sh CLI (belt). Install instructions

belt login

belt app run openai/gpt-image-2-5-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-5-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-5-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-5-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-5-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-5-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-5-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-5-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-5-flare --input '{
  "prompt": "a single red apple with a green leaf, isolated subject",
  "background": "transparent"
}'

Custom Resolution

belt app run openai/gpt-image-2-5-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-5-flare --input '{
  "prompt": "quick concept sketch of a robot",
  "quality": "low"
}'

Pricing

Approximate price per 1024x1024 image. Flare and Sunburst cost the same.

QualityGPT-Image-2.5GPT-Image-2
low$0.006$0.006
medium$0.013$0.053
high$0.053$0.21
xhigh$0.094
max$0.21

Larger resolutions cost more. Edits add about $0.008 per reference image. See belt app get openai/gpt-image-2-5-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 (xhigh/max are 2.5 only)
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

Plus de skills de qu-skills

ai-video-generation
qu-skills
Générez des vidéos IA avec Google Veo, Seedance 2.0, HappyHorse, Wan, Grok et plus de 40 modèles via l'interface CLI inference.sh. Modèles : Veo 3.1, Veo 3, Seedance 2.0, HappyHorse 1.0, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capacités : texte-vers-vidéo, image-vers-vidéo, référence-vers-vidéo, montage vidéo, synchronisation labiale, animation d'avatar, upscaling vidéo, son Foley. Utilisation pour : vidéos pour réseaux sociaux, contenu marketing, vidéos explicatives, démos produits, avatars IA. Déclencheurs : génération vidéo, vidéo IA,...
videocreativemedia
remotion-render
qu-skills
Rendre des vidéos à partir de code de composants React/Remotion via inference.sh. Envoyez du code TSX, obtenez du MP4. Prend en charge toutes les API Remotion : useCurrentFrame, useVideoConfig, spring, interpolate, AbsoluteFill, Sequence. Résolution, FPS, durée, codec configurables. Utilisation pour : génération programmatique de vidéos, graphiques animés, motion design, vidéos basées sur des données, animations React en vidéo. Déclencheurs : remotion, render video from code, tsx to video, react video, programmatic video, remotion render, code to video, animated...
developmentvideocreative
ai-image-generation
qu-skills
Générez des images IA avec GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve et plus de 50 modèles via l'interface CLI inference.sh. Modèles : GPT-Image-2, FLUX Dev LoRA, FLUX.2 Klein LoRA, Gemini 3 Pro Image, Grok Imagine, Seedream 4.5, Reve, ImagineArt. Capacités : texte-vers-image, image-vers-image, inpainting, LoRA, édition d'image, upscaling, rendu de texte. Utilisation pour : art IA, maquettes de produits, concept art, graphiques pour réseaux sociaux, visuels marketing, illustrations. Déclencheurs : flux, génération d'image, image IA, texte vers...
creativemediaimage
ai-avatar-video
qu-skills
Créez des vidéos d'avatar IA et de tête parlante via l'interface CLI inference.sh. Recommandé : P-Video-Avatar (le plus rapide, le moins cher, TTS intégré). Également : OmniHuman, Fabric, PixVerse. Audio : Inworld TTS-2 (100+ langues, pilotage émotionnel pour les personnages), ElevenLabs, Kokoro. Capacités : avatars pilotés par audio, texte vers avatar, vidéos synchronisées labiales, génération de têtes parlantes, présentateurs virtuels, contenu UGC. Utilisation pour : présentateurs IA, vidéos explicatives, influenceurs virtuels, doublage, vidéos marketing, publicités UGC, avatars de jeu,...
videocreativemedia
twitter-automation
qu-skills
Automatisez Twitter/X avec publication, engagement et gestion des utilisateurs via l'interface CLI inference.sh. Applications : x/post-tweet, x/post-create (avec média), x/post-like, x/post-retweet, x/dm-send, x/user-follow. Capacités : publier des tweets, planifier du contenu, aimer des publications, retweeter, envoyer des messages privés, suivre des utilisateurs, obtenir des profils. Utilisation pour : automatisation des réseaux sociaux, planification de contenu, bots d'engagement, croissance d'audience, API X. Déclencheurs : twitter api, x api, tweet automation, post to twitter, twitter bot, social media automation, x...
api
agent-browser
qu-skills
Automatisation de navigateur pour agents IA via inference.sh. Naviguer sur des pages web, interagir avec des éléments en utilisant les références @e, prendre des captures d'écran, enregistrer des vidéos. Capacités : scraping web, remplissage de formulaires, clics, saisie, glisser-déposer, téléchargement de fichiers, exécution JavaScript. Utilisation pour : automatisation web, extraction de données, tests, navigation agent, recherche. Déclencheurs : navigateur, automatisation web, scraping, navigation, clic, remplissage de formulaire, capture d'écran, navigation web, playwright, navigateur sans tête, agent web, surf sur internet, enregistrement vidéo
browser-automationweb-scrapingtesting
web-search
qu-skills
Recherche web et extraction de contenu avec Tavily et Exa via l'interface en ligne de commande inference.sh. Applications : Tavily Search, Tavily Extract, Exa Search, Exa Answer, Exa Extract. Capacités : recherche assistée par IA, extraction de contenu, réponses directes, recherche documentaire. Utilisation pour : recherche documentaire, pipelines RAG, vérification des faits, agrégation de contenu, agents. Déclencheurs : recherche web, tavily, exa, api de recherche, extraction de contenu, recherche, recherche internet, recherche IA, assistant de recherche, scraping web, rag, alternative à perplexity
researchweb-scrapingapi
agent-tools
qu-skills
Exécutez plus de 250 applications IA via l'interface CLI inference.sh - génération d'images, création de vidéos, LLM, recherche, 3D, automatisation Twitter. Modèles : FLUX, Veo, Gemini, Grok, Claude, Seedance, OmniHuman, Tavily, Exa, OpenRouter, et bien d'autres. Utilisez-le lors de l'exécution d'applications IA, de la génération d'images/vidéos, de l'appel aux LLM, de la recherche web ou de l'automatisation Twitter. Déclencheurs : inference.sh, infsh, modèle IA, exécuter IA, IA sans serveur, API IA, flux, veo, API Claude, génération d'images, génération de vidéos, openrouter, tavily, recherche exa, API Twitter, grok
developmentapicreative