GenerationUsage: {
    custom?: Record<string, number>;
    inputAudioFiles?: number;
    inputCharacters?: number;
    inputImages?: number;
    inputTokens?: number;
    inputVideos?: number;
    outputAudioFiles?: number;
    outputCharacters?: number;
    outputImages?: number;
    outputTokens?: number;
    outputVideos?: number;
    totalTokens?: number;
}

Usage info from a generate request.

Type declaration

  • Optionalcustom?: Record<string, number>
  • OptionalinputAudioFiles?: number
  • OptionalinputCharacters?: number
  • OptionalinputImages?: number
  • OptionalinputTokens?: number
  • OptionalinputVideos?: number
  • OptionaloutputAudioFiles?: number
  • OptionaloutputCharacters?: number
  • OptionaloutputImages?: number
  • OptionaloutputTokens?: number
  • OptionaloutputVideos?: number
  • OptionaltotalTokens?: number