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

Base URL 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

Worked out from Step1X Edit's published price (3.11 J / image). You pay only for successful results, from your Joule balance.
  • 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.

Settings

Optional parameters this model accepts (pass them in settings on /v1/run, or as top-level fields where OpenAI defines them).
NameTypeDefaultRange / options
output_qualityinteger801 – 100
Step1X Edit API — Pricing & Code Examples | RentPrompts