gpt-image-2

Installation
SKILL.md

GPT-Image-2

Generate or edit images through Frevana's AI Factory image API.

This skill returns the validated API response JSON unchanged. Treat data[0].image_url as the primary image URL.

What This Skill Needs

  • user-provided prompt or contents
  • optional reference image inputs: --image, --image-url, --image-dir, --mask
  • optional Frevana image options: n, size, quality, background, output_format, output_compression
  • FREVANA_TOKEN in the environment variables, or an explicit --token override for the current run
  • optional FREVANA_AGENT_APP_INSTANCE_ID; when non-empty, the script sends it as the x-frevana-agent-app-instance-id header on the image generation request
  • curl
  • bash
  • python3

Execution Order

Installs
208
GitHub Stars
2
First Seen
Apr 29, 2026