Submit Job
Task Management
Submit Job
Submit a new AI generation job to the PixelByte platform.
POST
Submit Job
Authentication
This endpoint requires an API key with thesubmit_job scope.
Request Body
The model slug to use for generation. Example:
"google/veo-3.1-fast/text-to-video"Optional model version. If omitted, the latest stable version is used.
Model-specific input parameters. The structure depends on the selected model. See the Video Models and Image Models pages for model-specific “Try it” panels with pre-filled parameters.
An HTTPS URL to receive a webhook notification when the job completes or fails. Must use the
https:// scheme.Response
Unique identifier for the submitted job.
Unique request identifier for tracing and support purposes.
Initial job status. Always
"pending" on successful submission.ISO 8601 timestamp of the estimated completion time.
The cost of the job in micro-cents (1/1,000,000 of a dollar).
Error Codes
| Code | Description |
|---|---|
MODEL_NOT_FOUND | The specified model slug does not exist or is not available. |
INSUFFICIENT_BALANCE | Your account does not have enough credits to submit this job. |
INVALID_INPUT | The input object does not match the model’s expected schema. |
CONCURRENT_JOBS_EXCEEDED | You have reached the maximum number of concurrent jobs for your plan. |
MODEL_ACCESS_DENIED | Your API key does not have access to the requested model. |
PUBSUB_PUBLISH_FAILED | Internal error while queuing the job. Please retry. |