API reference
Query video workspace capabilities
/v1/video-modelsReturns executable presets and frame constraints by mode. Only complete presets may be used; do not mix parameters across modes.
Authentication and permissions
Use your current GloopAPI key. Available models, capabilities and permissions depend on its catalog and the endpoint documentation.
Authorization: Bearer $GLOOP_API_KEYAuthentication schemes: BearerAuth
Responses and errors
HTTP 200
Video workspace capabilities queried successfully
application/json
- Type
- object
- Required fields
dataworkspace_enabledupload_enabledfile_storage_enabled
dataarrayRequiredArray of data for the current page/catalog.
data child fields (1)
[]objectOptional[] child fields (6)
idstringRequiredPublic identifier of this object, used for its corresponding detail path.
namestringRequiredHuman-readable name.
capability_versionstringRequiredCapability version of this public model.
modesarrayRequiredExecutable modes for this model and their respective complete parameter combinations.
modes child fields (1)
[]objectOptional[] child fields (9)
modestringRequiredExecution mode.
presetsarrayRequiredComplete executable parameter combinations; do not construct a Cartesian product across combinations.
presets child fields (1)
[]objectOptional[] child fields (4)
Duration in seconds in the model preset.
resolutionstringOptionalResolution value in the model preset.
aspect_ratiostringOptionalAspect ratio value in the model preset.
Whether this model preset generates audio.
audio_policystringRequiredAudio field policy for the current mode.
aspect_policystringRequiredAspect ratio field policy for the current mode.
duration_policystringRequiredDuration field policy for the current mode.
prompt_max_charsintegerRequiredMaximum Unicode characters in the prompt for the current mode.
start_frameobjectOptionalFirst frame constraints for the current mode.
start_frame child fields (5)
requiredbooleanRequiredWhether this mode requires the frame.
max_bytesintegerRequiredMaximum file size in bytes allowed for this frame.
max_pixelsintegerRequiredMaximum total pixel count allowed for this frame.
max_edgeintegerRequiredMaximum pixel count on either side allowed for this frame.
content_typesarrayRequiredImage MIME types allowed for this frame.
content_types child fields (1)
[]stringOptional
allOf branch 1
Type: object
Required in this branch: required, max_bytes, max_pixels, max_edge, content_types
requiredbooleanRequiredWhether this mode requires the frame.
max_bytesintegerRequiredMaximum file size in bytes allowed for this frame.
max_pixelsintegerRequiredMaximum total pixel count allowed for this frame.
max_edgeintegerRequiredMaximum pixel count on either side allowed for this frame.
content_typesarrayRequiredImage MIME types allowed for this frame.
content_types child fields (1)
[]stringOptional
end_frameobjectOptionalFinal frame constraints for the current mode.
end_frame child fields (5)
requiredbooleanRequiredWhether this mode requires the frame.
max_bytesintegerRequiredMaximum file size in bytes allowed for this frame.
max_pixelsintegerRequiredMaximum total pixel count allowed for this frame.
max_edgeintegerRequiredMaximum pixel count on either side allowed for this frame.
content_typesarrayRequiredImage MIME types allowed for this frame.
content_types child fields (1)
[]stringOptional
allOf branch 1
Type: object
Required in this branch: required, max_bytes, max_pixels, max_edge, content_types
requiredbooleanRequiredWhether this mode requires the frame.
max_bytesintegerRequiredMaximum file size in bytes allowed for this frame.
max_pixelsintegerRequiredMaximum total pixel count allowed for this frame.
max_edgeintegerRequiredMaximum pixel count on either side allowed for this frame.
content_typesarrayRequiredImage MIME types allowed for this frame.
content_types child fields (1)
[]stringOptional
cancel_policystringOptionalCancellation capability policy; requesting cancellation does not guarantee completion or a refund.
cancel_policystringRequiredCancellation capability policy; requesting cancellation does not guarantee completion or a refund.
pricing_kindsarrayRequiredPricing methods allowed by this model.
pricing_kinds child fields (1)
[]stringOptional
workspace_enabledbooleanRequiredWhether new tasks are enabled in the current workspace; does not mean historical objects were deleted.
upload_enabledbooleanRequiredWhether the service enables reference image uploads.
file_storage_enabledbooleanRequiredWhether the service enables managed file storage.
HTTP 400
Invalid request fields or parameters.
application/json
- Type
- object
- Required fields
error
errorobjectRequirederror child fields (4)
codestringOptionalmessagestringOptionaltypestringOptionalrequest_idstringOptional
HTTP 401
The key is missing, invalid, expired, or revoked.
application/json
- Type
- object
- Required fields
error
errorobjectRequirederror child fields (4)
codestringOptionalmessagestringOptionaltypestringOptionalrequest_idstringOptional
HTTP 403
Insufficient IP, account, model, or tool permissions.
application/json
- Type
- object
- Required fields
error
errorobjectRequirederror child fields (4)
codestringOptionalmessagestringOptionaltypestringOptionalrequest_idstringOptional
HTTP 404
Object/capability unavailable, or feature switch disabled.
application/json
- Type
- object
- Required fields
error
errorobjectRequirederror child fields (4)
codestringOptionalmessagestringOptionaltypestringOptionalrequest_idstringOptional
HTTP 409
Idempotency/quote conflict, object not ready, or still referenced.
application/json
- Type
- object
- Required fields
error
errorobjectRequirederror child fields (4)
codestringOptionalmessagestringOptionaltypestringOptionalrequest_idstringOptional
HTTP 429
Request/queue rate limit.
application/json
- Type
- object
- Required fields
error
errorobjectRequirederror child fields (4)
codestringOptionalmessagestringOptionaltypestringOptionalrequest_idstringOptional
HTTP 500
Internal authentication or data storage failure.
application/json
- Type
- object
- Required fields
error
errorobjectRequirederror child fields (4)
codestringOptionalmessagestringOptionaltypestringOptionalrequest_idstringOptional
HTTP 503
Service, pricing, or storage unavailable.
application/json
- Type
- object
- Required fields
error
errorobjectRequirederror child fields (4)
codestringOptionalmessagestringOptionaltypestringOptionalrequest_idstringOptional