POST/api/v1/imagine3 creditsSynchronousRequires image_url

SeedEdit

Provider · ByteDanceType · EditModel ID · seededitUpstream ID · seededit

SeedEdit by ByteDance. A natural language image editing model — describe the change you want in plain English and it transforms the source image accordingly. Requires an `image_url` parameter pointing to the image to edit.

Request Parameters

ParameterTypeRequiredDescription
promptstringRequiredThe text prompt describing the image to generate.
modelstringOptionalSet to `seededit` to use this model.Default: seededit
image_urlstringRequiredSource image URL. Required for this edit model — the request will fail without it.
aspect_ratiostringOptionalOutput aspect ratio. Allowed: 1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3.Default: 1:1
webhook_urlstringOptionalURL where we POST the completed task result.
webhook_secretstringOptionalSent as x-webhook-secret header in webhook delivery for verification.

Example Request

cURL
curl -X POST https://api.journeyapi.com/api/v1/imagine \
  -H "Authorization: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seededit",
    "prompt": "change the background to a snowy mountain landscape",
    "image_url": "https://example.com/original.jpg"
  }'

Response

This model is synchronous — the response includes the finished image_url directly. No polling required.

200 OK
{
  "task_id": "550e8400-e29b-41d4-a716-446655440000",
  "status": "finished",
  "image_url": "https://cdn.example.com/output.png"
}

Tips

  • 1Describe only what should change, not the full scene. "Make the sky purple" works better than "a photo with a purple sky".
  • 2Works best on photorealistic inputs. Stylized or AI-generated images may produce inconsistent results.

Quirks & Gotchas

Requires image_url — the request will fail without a source image.

Results are non-deterministic. Run multiple times to get variations.