Agent Integrations

Generate or edit an image via GMI (Seedream / SeedEdit)

Deprecated: use POST /agent-integrations/openrouter/images instead. Submits an image-generation request to GMI's request queue. Generation is asynchronous; by default the call blocks until the request reaches a terminal status and returns the media URLs. Set wait=false to return a requestId immediately and poll /requests/{requestId}. Charged on submit.

post/agent-integrations/media-generation/images

Request

  • Base URL: https://api.tinyhumans.ai
  • URL: https://api.tinyhumans.ai/agent-integrations/media-generation/images
  • Auth: HTTP bearer

Request body

modelstring

Curated image model id (see /models). Defaults to seedream-4-0-250828; any other id is rejected with 400.

promptstring required
sizestring

e.g. 1024x1024, 1536x1024

ninteger

Images to generate; each image is charged.

inputImagesstring[]

Reference image URLs for edit / image-to-image

seedinteger
waitboolean
timeoutSecondsinteger

Response

Generation accepted (or completed media when wait=true)

Changes

No recorded changes to this operation across all 1 revision of this API.