Submit a task
API Playground
Submit a task
Create an asynchronous media generation task.
POST
Submit a task
Use this endpoint for every model. Put model-specific values inside
input.Authorizations
Use your YingTu API key as a bearer token.
Body
application/json
Model ID from the model catalog.
Example:
"gemini-3.1-flash-image"
Model-specific parameters. See the selected model's Parameters page.
Example:
Optional HTTPS endpoint notified when the task reaches a terminal state.
Example:
"https://example.com/webhooks/yingtu"