step-3.7-flash — native multimodal input. You’ll learn how to have the model understand images and text together, and video and text together.
All examples use the Chat Completions API. The model has native multimodal support — no separate vision model required.
Prerequisites
1. Get an API key
Visit the console to get your API key.2. Install dependencies
Image understanding
step-3.7-flash understands images directly — no additional vision model required.
Minimal example
- Python
- curl
copy
Use a Base64-encoded image
If your image is a local file, convert it to Base64:Use the Files API (recommended)
For images you’ll reuse, uploading to StepFun file storage speeds up access:Video understanding
step-3.7-flash supports native video understanding — no separate model required.
Video guidance: up to 128 MB, up to 5 minutes, MP4 format.
Minimal example
- Python
- curl
copy
Control reasoning effort
step-3.7-flash supports three reasoning effort levels — pick one based on task complexity. The Chat Completions API uses reasoning_effort; the Messages API uses output_config.effort.
- Chat Completions API
- Messages API
- Python
copy
Field reference
image_url
video_url
FAQ
Q: Video upload fails. What do I do?
A: Make sure the video meets these conditions:- Format: MP4, QuickTime (
.mov), or Matroska (.mkv) - Size: under 128 MB
- Duration: under 5 minutes
Q: Image / video responses are slow.
A: Upload your files to StepFun storage via the Files API and reference them withstepfile:// for faster access. For images, you can also set detail to low. For video, keep file size and duration small.
Q: How do I process multiple images in one request?
A: Pass multipleimage_url items in the content array:
Q: Which image formats are supported?
A: JPG / JPEG, PNG, static GIF, and WebP.Q: Which video formats are supported?
A: MP4, QuickTime (.mov), and Matroska (.mkv).
Next steps
Cookbook
Reusable task templates for whiteboard-to-plan, chart-to-data, receipt-to-table, and more.
Image understanding best practices
A deeper look at image understanding parameters, detail mode, and performance tips.
Video understanding best practices
A deeper look at video understanding limits, pricing estimates, and ffmpeg usage.
Reasoning model guide
Recommended usage of reasoning models for complex tasks, tool calling, and long contexts.