Skip to content
Back to skills

Source 025a2297c1db8569a08f4581

ASecurity

Text-to-image generation and image editing via Together AI, including FLUX and Kontext models, LoRA-based styling, reference-image guidance, and local image downloads. Reach for it whenever the user wants to generate or edit images on Together AI rather than create videos or build text-only chat applications.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
ai-agentstypescriptpythonapi

Works with

  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 10 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add gutsofpratik/OpenClaude-Skills --skill source-025a2297c1db8569a08f4581 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Source 025a2297c1db8569a08f4581?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Source 025a2297c1db8569a08f4581
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gutsofpratik-source-025a2297c1db8569a08f4581/badge)](https://www.skillsdirectory.com/skills/gutsofpratik-source-025a2297c1db8569a08f4581)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: together-images
description: "Text-to-image generation and image editing via Together AI, including FLUX and Kontext models, LoRA-based styling, reference-image guidance, and local image downloads. Reach for it whenever the user wants to generate or edit images on Together AI rather than create videos or build text-only chat applications."
---

# Together Images

## Overview

Use Together AI image APIs for:

- text-to-image generation
- image editing with Kontext
- FLUX.2-specific options
- LoRA adapters
- reference-image guidance

## When This Skill Wins

- Generate still images from prompts
- Edit an existing image with text guidance
- Apply LoRA styles to FLUX models
- Choose image models or dimensions for a product workflow

## Hand Off To Another Skill

- Use `together-video` for motion or video generation
- Use `together-chat-completions` for text-only generation
- Use `together-dedicated-containers` only when the user needs a custom image runtime rather than the managed API

## Quick Routing

- **Basic text-to-image**
  - Start with [scripts/generate_image.py](scripts/generate_image.py) or [scripts/generate_image.ts](scripts/generate_image.ts)
  - Read [references/api-reference.md](references/api-reference.md)
- **Multiple variations, base64 output, or seeded runs**
  - Start with [scripts/generate_image.py](scripts/generate_image.py) or [scripts/generate_image.ts](scripts/generate_image.ts)
  - Read [references/api-reference.md](references/api-reference.md)
- **Image editing with Kontext**
  - Start with [scripts/kontext_editing.py](scripts/kontext_editing.py)
  - Read [references/api-reference.md](references/api-reference.md)
- **Generate then edit (e.g. product photos)**
  - Start with [scripts/kontext_editing.py](scripts/kontext_editing.py) (Example 7)
  - Generate with FLUX, feed the URL to Kontext, save both locally
- **LoRA styling**
  - Start with [scripts/lora_generation.py](scripts/lora_generation.py)
  - Read [references/api-reference.md](references/api-reference.md)
- **Model and dimension selection**
  - Read [references/models.md](references/models.md)

## Workflow

1. Confirm whether the task is generation, editing, or style transfer.
2. Choose the model family and output dimensions first.
3. Add reference images, LoRAs, or FLUX.2-only parameters only when the use case needs them.
4. Generate the asset, then download or decode it into the expected local format.

## High-Signal Rules

- Python scripts require the Together v2 SDK (`together>=2.0.0`). If the user is on an older version, they must upgrade first: `uv pip install --upgrade "together>=2.0.0"`.
- Match the script to the workflow type instead of packing every image feature into one request path.
- Keep model selection explicit because FLUX, Kontext, and partner models differ in capabilities.
- Preserve reproducibility with seeds when the user needs stable outputs.
- For editing or reference-image flows, validate that the chosen model actually supports the feature.

## Resource Map

- **API reference**: [references/api-reference.md](references/api-reference.md)
- **Troubleshooting and generation tuning**: [references/api-reference.md](references/api-reference.md)
- **Model guide**: [references/models.md](references/models.md)
- **Python image generation**: [scripts/generate_image.py](scripts/generate_image.py)
- **TypeScript image generation**: [scripts/generate_image.ts](scripts/generate_image.ts)
- **Python Kontext editing**: [scripts/kontext_editing.py](scripts/kontext_editing.py)
- **Python LoRA generation**: [scripts/lora_generation.py](scripts/lora_generation.py)

## Official Docs

- [Images Overview](https://docs.together.ai/docs/images-overview)
- [FLUX.2 Quickstart](https://docs.together.ai/docs/quickstart-flux)
- [FLUX Kontext](https://docs.together.ai/docs/quickstart-flux-kontext)
- [FLUX LoRA](https://docs.together.ai/docs/quickstart-flux-lora)
- [Image Generation API](https://docs.together.ai/reference/post-images-generations)

Files in this skill

  • PROVENANCE.json205 B
  • SKILL.md3.9 KB
  • UPSTREAM-LICENSE.txt1 KB
  • agents/openai.yaml233 B
  • references/api-reference.md9.5 KB
  • references/models.md4.6 KB
  • scripts/generate_image.py3.7 KB
  • scripts/generate_image.ts2.6 KB
  • scripts/kontext_editing.py5.1 KB
  • scripts/lora_generation.py2.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.