abacusai.studio_gen_costs

Classes

StudioGenCosts

Credit cost estimation data for all Studio models.

Module Contents

class abacusai.studio_gen_costs.StudioGenCosts(client, videoCosts=None, imageCosts=None, lipSyncCosts=None, overhead=None, videoOverhead=None, adOverhead=None, imageDisplayThreshold=None)

Bases: abacusai.return_class.AbstractApiClass

Credit cost estimation data for all Studio models.

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

  • videoCosts (dict) – Cost lookup tables for video generation models

  • imageCosts (dict) – Cost lookup tables for image generation models

  • lipSyncCosts (dict) – Cost lookup tables for lip sync models

  • overhead (int) – Fixed credit overhead per generation (agentic loop cost)

  • videoOverhead (int) – Credit overhead for video/lip-sync generations, used in place of overhead

  • adOverhead (int) – Credit overhead for a Studio ad, used in place of overhead (research + prompt writing)

  • imageDisplayThreshold (int) – FE hides image estimates below this many credits (pre-overhead)

video_costs = None
image_costs = None
lip_sync_costs = None
overhead = None
video_overhead = None
ad_overhead = None
image_display_threshold = 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