Skip to main content

ocoya_list_studio_templates

Lists Studio templates in an approved workspace. Use this before ocoya_create_ai_post when you want a generated image to follow the style or layout of a saved Studio template.

Arguments

NameTypeRequiredDescription
workspaceIdstringYesWorkspace ID from ocoya_list_workspaces.
querystringNoOptional template name search.
pagenumberNoZero-based page number. Defaults to 0.
perPagenumberNoTemplates per page. Defaults to 20.

Example

{
  "name": "ocoya_list_studio_templates",
  "arguments": {
    "workspaceId": "cmayvq3hk00017apshay5qezu",
    "query": "launch"
  }
}

Returns

Returns Studio design IDs, names, preview images, page thumbnails, page count, width, and height. Use returned design IDs as referenceDesignIds when calling ocoya_create_ai_post.