Class: RunApi::FishAudio::Resources::CreateVoice
- Inherits:
-
Object
- Object
- RunApi::FishAudio::Resources::CreateVoice
- Includes:
- Core::ResourceHelpers
- Defined in:
- lib/runapi/fish_audio/resources/create_voice.rb
Overview
Creates an account-owned reusable voice from source audio.
Constant Summary collapse
- ENDPOINT =
"/api/v1/fish_audio/voices"- RESPONSE_CLASS =
Types::VoiceResponse
Instance Method Summary collapse
-
#initialize(http) ⇒ CreateVoice
constructor
A new instance of CreateVoice.
- #run(options: nil, **params) ⇒ Object
Constructor Details
#initialize(http) ⇒ CreateVoice
Returns a new instance of CreateVoice.
13 14 15 |
# File 'lib/runapi/fish_audio/resources/create_voice.rb', line 13 def initialize(http) @http = http end |