grok-imagine-image-2-0/segment-edit
📝 Model description pending (TODO). Every value on this page comes from the ModelFold catalog, and no technical detail has been invented.
Overview
| Field | Value |
|---|---|
| Model ID | grok-imagine-image-2-0/segment-edit |
| Family slug | grok-imagine-image-2 |
| Modality | Image Generation (image) |
| Credits | 6 |
| Upstream cost | 4 / per image |
| Pricing source | upstream-api — Upstream official pricing (media) |
| Endpoint | POST /v1/images/generations |
Request example
bash
export API_BASE="https://modelfold.ai/v1"
export MODELFOLD_API_KEY="mf-..." # 在控制台 API Key 页面创建
curl -X POST "$API_BASE/images/generations" \
-H "Authorization: Bearer $MODELFOLD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"grok-imagine-image-2-0/segment-edit","prompt":"Change the background to a sunset beach while preserving the subject.","task_id":"task_grok_imagine_1234567890"}'Required parameters
Required: prompt, task_id.
Pass model parameters at the top level; do not wrap them in input. Replace sample media URLs with your own publicly accessible files. The request waits for generation and returns data[].url.
See the complete parameter reference for conditional requirements, limits and alternative input modes.
Related models
- Model overview
- See all 63 image generation models
grok-imagine-image-2-0/image-editgrok-imagine-image-2-0/segment-mapgrok-imagine-image-2-0/text-to-image
