nvidia-flux-edit
Perform natural-language image edits, object swaps, and style transfers using FLUX.1 Kontext and NVIDIA NIM.
skill install https://www.promptspace.in/skills/nvidia-flux-editWhat it does
This skill provides your AI agent with the ability to perform precise, in-context image editing using the state-of-the-art FLUX.1-Kontext model. Unlike standard image generation, this tool takes an existing image and modifies it based on natural language instructions—allowing you to swap objects, change backgrounds, or alter styles while maintaining the original composition.
Why use this skill
Prompting an AI to generate an image from scratch is easy, but modifying an existing image with precision is notoriously difficult. This skill bridges that gap by leveraging NVIDIA's NIM API to provide a professional-grade "edit" function. It eliminates the need for manual Photoshop work by allowing the agent to "see" the source and describe the delta.
Key Features
- Object Manipulation: Seamlessly add, remove, or replace specific objects within a scene.
- Environment Swapping: Change backgrounds (e.g., from a studio to a beach) while keeping the subject intact.
- Style Transfer: Instantly convert photos into watercolor, 3D renders, or oil paintings.
- Color Modification: Target specific elements, like changing a car's color from red to blue.
- Developer-First: Uses a lightweight Python implementation via NVIDIA's free-tier NIM API.
Supported Tools
The skill utilizes standard Python libraries (requests, base64) to interact with the NVIDIA Build API, ensuring high-speed processing and high-fidelity output in PNG format.
Use cases
- Swap backgrounds in product photos for marketing assets
- Apply artistic style transfers to existing portraits or landscapes
- Modify colors or add accessories to characters in consistent scenes
- Remove or replace distracting objects from professional photography
Example
Prompt
Sample output preview is available after purchase.