abacusai.studio_showcase_item

Classes

StudioShowcaseItem

Studio Showcase Item — one tile on Studio's Explore wall: a curated example generation, a Shorts format or an explainer template.

Module Contents

class abacusai.studio_showcase_item.StudioShowcaseItem(client, id=None, title=None, modelName=None, modelId=None, type=None, aspectRatio=None, imageUrl=None, videoUrl=None, videoThumbUrl=None, prompt=None, format=None, adTemplateSlug=None)

Bases: abacusai.return_class.AbstractApiClass

Studio Showcase Item — one tile on Studio’s Explore wall: a curated example generation, a Shorts format or an explainer template.

Parameters:
  • client (ApiClient) – An authenticated API Client instance

  • id (str) – Stable tile identifier

  • title (str) – Display title

  • modelName (str) – Display name of the model credited for the example

  • modelId (str) – Gen-settings key of that model (abacus_studio when the example is attributed to Studio itself)

  • type (str) – image or video

  • aspectRatio (str) – CSS aspect ratio, e.g. “9 / 16”

  • imageUrl (str) – CDN URL of the still (the poster for a video tile)

  • videoUrl (str) – CDN URL of the full video, video tiles only

  • videoThumbUrl (str) – CDN URL of the compressed preview clip, video tiles only

  • prompt (str) – The prompt the example was generated with; empty for format and template tiles

  • format (str) – short (a Shorts format) or explainer (an explainer template); absent for a plain example

  • adTemplateSlug (str) – The Shorts format a short tile opens

id = None
title = None
model_name = None
model_id = None
type = None
aspect_ratio = None
image_url = None
video_url = None
video_thumb_url = None
prompt = None
format = None
ad_template_slug = None
deprecated_keys
__repr__()
to_dict()

Get a dict representation of the parameters in this class

Returns:

The dict value representation of the class parameters

Return type:

dict