Back to models
NextStep-1.1
StepFun's 14.9B continuous-token autoregressive text-to-image model under Apache 2.0, enhanced with flow-based reinforcement learning post-training for stable textures, reduced artifacts, and faithful prompt alignment.
What you can do
- Complex compositional text-to-image synthesis
- High-texture artistic and material rendering
- Autoregressive visual generation research
Input & output
- Input
- Detailed natural-language compositional text prompts
- Output
- High-fidelity synthesized images with coherent multi-object spatial layouts
Try a prompt like this
A sunlit cozy bookbindery bench with stitched leather journals, brass embossing stamps,linen thread spools, and a tabby cat sleeping beside a mullioned window.
Things to know
Apache 2.0 licensed; 14.9B BF16 weights require ~32GB VRAM, and sequential continuous-token autoregressive decoding runs slower than few-step distilled DiT models.
All listed models publish open weights for self-hosted deployment; check each repository's license before commercial use.
Call it through the API
The platform exposes an OpenAI-compatible API. Use an official SDK or any HTTP client, then set the gateway URL, API key, and model ID.
- Endpoint
POST/v1/images/generations- Model repo ID
stepfun-ai/NextStep-1.1
import os
from openai import OpenAI
client = OpenAI(
base_url=os.environ["API_BASE_URL"],
api_key=os.environ["API_KEY"],
)
result = client.images.generate(
model="stepfun-ai/NextStep-1.1",
prompt="A sunlit cozy bookbindery bench with stitched leather journals, brass embossing stamps,linen thread spools, and a tabby cat sleeping beside a mullioned window.",
size="1024x1024",
)
print(result.data[0].url)Before running a sample, set the API_BASE_URL (gateway URL) and API_KEY environment variables.
Read the full API guide