# Together AI Image Generation Skill for Claude Code > Skill that teaches Claude Code Together AI's image generation API. Covers FLUX and Kontext models for text-to-image, image editing, and style transfer with correct parameters. ## Install Save the content below to `.claude/skills/` or append to your `CLAUDE.md`: ## Quick Use ```bash npx skills add togethercomputer/skills ``` ## What is This Skill? This skill teaches AI coding agents how to generate and edit images using Together AI's image API. It covers FLUX models for text-to-image generation and Kontext models for image editing, style transfer, and visual transformations. **Answer-Ready**: Together AI Image Generation Skill for coding agents. Covers FLUX (text-to-image) and Kontext (image editing/style transfer) models. Correct SDK patterns, model IDs, and parameters. Part of official 12-skill collection. **Best for**: Developers building AI image generation with Together AI. **Works with**: Claude Code, Cursor, Codex CLI, Gemini CLI. ## What the Agent Learns ### Text-to-Image (FLUX) ```python from together import Together client = Together() response = client.images.generate( model="black-forest-labs/FLUX.1-schnell-Free", prompt="A sunset over mountains, photorealistic", width=1024, height=768, n=1, ) print(response.data[0].url) ``` ### Image Editing (Kontext) ```python response = client.images.generate( model="black-forest-labs/FLUX.1-Kontext-Free", prompt="Change the sky to nighttime with stars", image_url="https://example.com/photo.jpg", ) ``` ### Available Models | Model | Type | Speed | |-------|------|-------| | FLUX.1-schnell-Free | Text-to-image | Fast | | FLUX.1-dev | Text-to-image | High quality | | FLUX.1-Kontext-Free | Image editing | Fast | | FLUX.1-Kontext-Pro | Image editing | Highest quality | ## FAQ **Q: Free models available?** A: Yes, FLUX.1-schnell-Free and FLUX.1-Kontext-Free are free tier. ## Source & Thanks > Part of [togethercomputer/skills](https://github.com/togethercomputer/skills) — MIT licensed. ## Quick Start ```bash npx skills add togethercomputer/skills ``` ## What Is This Skill? Teaches AI agents how to use Together AI's image generation API, including FLUX (text-to-image) and Kontext (image editing) models. **In one sentence**: Together AI image generation Skill — FLUX text-to-image + Kontext image editing, includes free models. Official. ## Source & Thanks > [togethercomputer/skills](https://github.com/togethercomputer/skills) — MIT --- Source: https://tokrepo.com/en/workflows/together-ai-image-generation-skill-claude-code-84500559 Author: Together AI