Image model API
Step1X Edit API
Step1X-Edit is designed for general-purpose image editing based on user instructions. It takes a reference image and a text prompt describing the desired change (e.g., “remove the person”, “change the background to a beach”, “make it look like a watercolor painting”). The model uses a multimodal language model to understand the image and the instruction, and then guides a diffusion process to generate the edited image while preserving relevant parts of the original.
- Model id
step1x-edit- Takes
- Text (optional) + Image (required)
- Makes
- Image
- Endpoint
POST /api/v1/images/generations- Made by
- Zsxkib
- Mode
- Synchronous
Call Step1X Edit
https://payload.rentprompts.com/api/v1. Replace the placeholder with your key.Model step1x-edit
POST /api/v1/images/generations
curl https://payload.rentprompts.com/api/v1/images/generations \
-H "Authorization: Bearer rp_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "step1x-edit",
"prompt": "A lighthouse at dusk, watercolor",
"n": 1
}'Replace rp_live_YOUR_KEY with your key, ideally via the RENTPROMPTS_API_KEY environment variable. Keys are shown only once, so they are never filled in here. Get your API key →
What a typical call costs
- 1 image3.11 Joules
- 4 images12.44 Joules
Send requests to POST /api/v1/images/generations. Step1X Edit answers synchronously: the result comes back in the response to the same request.