Step Plan supports image generation/editing models via a dedicated path. All requests use theDocumentation Index
Fetch the complete documentation index at: https://platform.stepfun.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
/step_plan/v1/... path prefix, with the domain fixed as https://api.stepfun.ai.
Prerequisites
Image Generation / Editing Models
Supported Models
| Model | Description |
|---|---|
step-image-edit-2 | Lightweight image generation/editing model. A single model supports both text-to-image and image editing; each editing task takes only 1-2 seconds, with input images supporting up to 4096x4096 resolution. |
Endpoint Paths
| Capability | Request Method | Step Plan Path |
|---|---|---|
| Text-to-image | POST | https://api.stepfun.ai/step_plan/v1/images/generations |
| Image editing | POST | https://api.stepfun.ai/step_plan/v1/images/edits |
The endpoint parameters are exactly the same as the open platform. For details, refer to the API documentation: Generate images, Image editing.
Billing Instructions
The billing logic is consistent with the open platform. Ultimately, the actual billed amount calculated on the open platform will be converted into Step Plan total quota consumption. For specific unit prices, please refer to Pricing and Rate Limits.Examples
- Text-to-image (curl)
- Image editing (curl)
- Python (OpenAI SDK)