Base Models

List base models

Changed on

List the base models enabled for this workspace, sourced from the model registry. Results come back in Layer's recommended order, which reflects synced quality and popularity signals and can therefore shift between requests. Reference sets are listed separately under /reference-sets.

get/v2/workspaces/{workspace_id}/base-models

Request

  • Base URL: https://api.app.layer.ai/api
  • URL: https://api.app.layer.ai/api/v2/workspaces/{workspace_id}/base-models
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://auth.app.layer.ai/authorize, token URL https://auth.app.layer.ai/oauth/token)
    • OAuth 2 (client credentials, token URL https://api.app.layer.ai/api/oauth/token, scopes: generation:read)

Path parameters

workspace_idstring uuid required

Id of the workspace that owns the resource.

Query parameters

modality'text' | 'image' | 'audio' | 'video' | 'three_d' | 'playable' | 'world'

Filter by output modality

searchstring nullable

Full-text search on name, aliases, and description

use_case'text_to_image' | 'image_editing' | 'multi_angle' | 'inpainting' | 'reframing' | 'split_into_layers' | 'text_to_video' | 'image_to_video' | 'video_editing' | 'video_extend' | 'insert_video' | 'video_subtitle' | 'video_lipsync' | 'motion_transfer' | 'video_object_swap' | 'video_character_swap' | 'relight_video' | 'image_to_video_lipsync' | 'text_to_3d' | 'image_to_3d' | 'text_to_world' | 'image_to_world' | 'remesh' | 'retexture' | 'uv_unwrap' | 'animate' | 'rig' | 'segment' | 'image_segment' | 'text_to_speech' | 'sound_effects' | 'music' | 'upscaling' | 'video_interpolation' | 'denoise_image' | 'denoise_video' | 'denoise_audio' | 'voice_change' | 'audio_separation' | 'audio_isolation' | 'deblur_video' | 'restore_image' | 'sdr_to_hdr_video' | 'background_removal' | 'vectorization' | 'virtual_try_on' | 'restyle' | 'pixelate' | 'colorize' | 'change_expression' | 'erase_object' | 'edit_text' | 'dub_video' | 'extend_audio' | 'generate_pbr_materials' | 'create_skybox' | 'complete_draft'

Filter to the models that declare this use case, in Layer's recommended order for it. The finer-grained choice when the caller's intent is known, e.g. retexture or rig.

tileableboolean

Set true to list only models that can generate seamless tileable textures.

limitinteger

Maximum number of results to return.

cursorstring nullable

Cursor from a previous response to fetch the next page.

Response

Successful Response

Changes

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the enum value create_skybox to the property anyOf[subschema #1: InferenceUseCase]/ of the query request parameter use_case

    • info

      added the enum value voice_change to the property anyOf[subschema #1: InferenceUseCase]/ of the query request parameter use_case