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, voiceDesignCredits=None, overhead=None, videoOverhead=None, adOverhead=None, imageDisplayThreshold=None, shortsVideogenDiscount=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

  • voiceDesignCredits (int) – Flat credit estimate for designing one avatar voice (generateAvatarVoice)

  • 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)

  • shortsVideogenDiscount (float) – Fraction off the listed video rate for Shorts renders (fal pass-through); estimates show the list rate slashed

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