0 of 0

File information

Last updated

Original upload

Created by

BunnyPriestess

Uploaded by

BunnyPriestess

Virus scan

Some manually verified files

60 comments

  1. BunnyPriestess
    BunnyPriestess
    • supporter
    • 152 kudos
    Locked
    Sticky
    Some info/guides for using the tool:

    ================================
    Please note:
    ================================
    all generation tools will use your saved browser settings for your elevenlabs account

    Log Saving/Loading is done with a csv file, matching the batch generation format. You can also load a csv to the log to view it, if desired.

    ================================
    TTS batch Generation
    ================================
    Requires A CSV file, you can generate one with dialogue from Xedit
    Use google sheets or Excel or similar app to move columns around

    CSV columns one and two should match this format:
    Column 1, Column 2
    "Filename","Response Text"

    Quotations are only needed if the text contains special characters or punctuation.

    ================================
    CSV File Copying Help
    ================================
    Note; CSV columns 3 & 4 are used for batch file copying.

    You can add tags to these columns so that when you can copy files they will be added to a new subdirectory.

    Ex:
    Filename1,"I'm your wife" , "Lite Voices,Female only" , ""
    Filename2 , "I don't believe you" , "" , ""

    Would output 3 subfolders in the target directory: "Lite Voices", "Female Only", and "Unspecified"

    "I'm your wife" would be copied to both subfolders "lite voices" and "Female Only" while "I don't believe you" would be copied to the "unspecified" subfolder.

    ================================
    Batch File Renaming
    ================================
    Rename files based on a CSV file
    You can use this to convert filenames to the DBVO format

    Note: Filenames that contain unsupported characters will have those characters converted to "_" and files that are duplicates will have "(#)" appended to the filename.

    ================================
    STS Batch Generation
    ================================
    Can use wav or mp3 files

    All files from the target directory will be iterated through

    If the output directory contains a file with the same name as the input directory The file will be skipped.

    Must use a Language model that supports "STS"

    ================================
    File output for single generations
    ================================
    If no filename is specified
    the file will simply be saved with a timestamp for its filename

    If no Output directory is specified
    A folder will be created in the Exe's location to store the files

    For STS regeneration
    A "Recordings" folder will be created in the output directory
    With sent audio stored there for log regeneration
    Delete at your discretion, but know the app has no way to get this info back
  2. lindanimated
    lindanimated
    • member
    • 0 kudos
    Hi! This is a really amazing tool but I'm stupid and new to this, so I can't figure out what I'm doing wrong. I get an error when doing CSV batch generate. The error is: Error generating audio for row 000E179F_1.wxm: 400 Client Error: Bad Request for url: https://api.elevenlabs.io/v1/text-to-speech/acCWx...

    It's probably something simple that I'm missing, but could I please get some help with this if possible?
    1. BunnyPriestess
      BunnyPriestess
      • supporter
      • 152 kudos
      A few possibilities:

      If you have any spaces in your api key the batch generation won't be able to send it properly as it uses a different method to send the api key

      Your subscription tier may not have access to the audio quality the tool is requesting. I have to add in a selection option for audio quality to fix this, sorry.

      VoiceID incorrect or not added to your account

      Request would exceed usage quota or character limit

      Try removing .xwm from the filename and see if that helps.

      What is your language model/Sub tier?
    2. lindanimated
      lindanimated
      • member
      • 0 kudos
      Thanks so much for replying! I was going through your list and although it didn't end up being any of those, it did make me realise that I had indeed been stupid and forgotten one of the settings I needed. I was so busy worrying about the voice and output path fields that I just straight up forgot that I also needed to choose something for the model field. That's embarrassing, but yeah, your help actually did work in a roundabout way since it made me look even more closely at what I was doing. Thanks!!
    3. Northwall1
      Northwall1
      • member
      • 0 kudos
      It would be nice if there wasn't an error messagebox that stalled processing on a problematic file
  3. WinterishClover
    WinterishClover
    • premium
    • 55 kudos
    I'm just getting going with this, but I have a mod that has quite a few new NPCs. A) I have to batch each voice individually which is a pain and B)I'm running out of voices. Do you have plans to add multiple voice batches and add more Elevenlabs voices?
    1. BunnyPriestess
      BunnyPriestess
      • supporter
      • 152 kudos
      A) you can run multiple instances of the app, so you can do multiple batches that way. But do keep in mind elevenlabs does place a limit on concurrent generations.

      B) there is no limit to the number of elevenlabs voices you can have except the ones elevenlabs sets themselves, so not sure what you mean by this.
    2. WinterishClover
      WinterishClover
      • premium
      • 55 kudos
      In the drop-down to select the voice there is only about 12 voices. It's not the full list of their voices and none of the community voices.
    3. BunnyPriestess
      BunnyPriestess
      • supporter
      • 152 kudos
      You must add community voices to your library before the generator will get them.

      As for the default voices the generator should get all voices available to your account. Have you tried scrolling through the combobox?
    4. WinterishClover
      WinterishClover
      • premium
      • 55 kudos
      Yeah I wish I could easily take a screen shot. I've clicked "Get Available Voices" and the list is only Adam Stone, Alice, Aria, Bill, Brian, Callum, Charlie, etc...

      But in my Elevenlabs account in Library, I've got totally different ones, Amelia, Jessica Ann Bogart, Ivy, Alexandra, on and on. I double checked my key too.
    5. BunnyPriestess
      BunnyPriestess
      • supporter
      • 152 kudos
      I'll double check when I get home. Around 3pm.
    6. BunnyPriestess
      BunnyPriestess
      • supporter
      • 152 kudos
      The only ones the app seems to not be getting for me are legacy models. All instant, community, and default voices appear as expected.

      What tier are you subscribed to, does that tier allow api access?

      Make sure you have loaded an api key for the correct account.

      Unfortunately if there are restrictions on your account (region, sub tier, etc.) this app doesn't work around them. So it could be something on your end, but everything seems to be working fine on mine.
    7. WinterishClover
      WinterishClover
      • premium
      • 55 kudos
      Well the free level allows API access so... what tier do you suggest?
  4. DeathList702
    DeathList702
    • member
    • 0 kudos
    Hi! First of all, thank you for your effort and dedication in creating this tool. This is very useful!

    But, unfortunately, I encountered an issue when using this app. When I try for the first time, the app is working as intended. But, when I want to try real work on it, I encountered an 401 error. I already tried changing my API keys, checking if my credits on ElevenLabs already depleted (and it's not), uninstalling and reinstalling, but it didn't work. Is there any solution for this?

    note: for the screenshot of the error, here's the link (https://imgur.com/a/UQ2WC1m)
    1. BunnyPriestess
      BunnyPriestess
      • supporter
      • 152 kudos
      How long are your inputs? Error 401 can be caused by exceeding the character limit.

      It can also be caused by incorrect api key or Elevenlabs placing a rate limit on your account.

      There is also a limit on concurrent requests depending on your tier.

      Additionally profanity or certain phrases may be blocked by elevenlabs depending on what the dialogue contains.

      Are you using batch generation?
    2. DeathList702
      DeathList702
      • member
      • 0 kudos
      I was using text-to-speech first when testing, and it worked. Then, I tried using Speech-to-Speech Batch Generation, I was trying to revoicing a companion mod from Oblivion (all of the dialogue voicelines from one folder). It failed in the first try (it doesn't generate anything, even the first batch file that inputted). I realized that maybe my ElevenLabs plan that doesn't suitable with my request, so I tried to divide it by small chunks of folder. Error still occurred, even that I tried single text-to-speech again, it doesn't worked from the app.

      But, if I try to directly use ElevenLabs STS from the website on the browser, I still can generate speech-to-speech voices, but I can't batch generate it (well it's tedious to convert ~6000 .mp3 files one by one lol)
    3. BunnyPriestess
      BunnyPriestess
      • supporter
      • 152 kudos
      Are there any spaces in your api key input field? I use a slightly different method of sending the api key for sta generation that doesn't remove spaces before or after the api key.
  5. PaladinStallion80
    PaladinStallion80
    • member
    • 2 kudos
    Heya, is it possible for me to convert several Baldur's Gate 3 voice lines at a time using this tool?  Thanks.
    1. BunnyPriestess
      BunnyPriestess
      • supporter
      • 152 kudos
      As long as you can get them in a csv with filename and dialogue in rows 1 & 2 you can use this for any game. You may have to convert the audio to a supported format though.
  6. BunnyPriestess
    BunnyPriestess
    • supporter
    • 152 kudos
    New update on its way with several improvements/Features!
    UTF-8 Encoded Foreign/Special Character Support
    STS batch Generation (can send MP3 or Wav)
    Custom TesVedit Script for getting dialogue (more reliably gets filenames)
    Batch CSV based file copying based on script notes/Edits information (Made for my mod, included in tool for others who may find it useful)
    Option to actually fully stop batch generation (Cancels generation instead of simply pausing it)
    Save Last Output Directory
    Save Custom STS Hotkey
    Searchable Log
    Longer Log (Up to 1000 entries)
    Option to Save/Load log
  7. yosuke33
    yosuke33
    • member
    • 0 kudos
    seems like a nice tool, but sadly the incompatibility with foreign letters makes it hard to use for any non-english users. :(
    still, endorsed.
  8. Where is the apply button to the API
    1. BunnyPriestess
      BunnyPriestess
      • supporter
      • 152 kudos
      apply button?
      If you're talking about the API Key it is automatically applied once you click any of the generate buttons.
      You need an elevenlabs account to access the Elevenlabs API. Your api key can be found in your Elevenlabs Profile tab.
    2. reneboyatnexusmods
      reneboyatnexusmods
      • member
      • 0 kudos
      can you help me with this? I'm stuck in step 3 as I'm very new to this :(
    3. BunnyPriestess
      BunnyPriestess
      • supporter
      • 152 kudos
      1) Open your mod in Xedit
      2) right click on your mods name in the side window and click apply script.
      3) select the export dialogue script
      4) let the script run and save the text file to an easy to remember place
      5) import to google sheets or excel and convert to csv (Default format is a tab delimited txt file)
      6) Place filename in first column
      7) place response text in second column
      (You can delete any other columns they don't matter)
      8) Save as csv file
  9. Plasquar
    Plasquar
    • supporter
    • 5 kudos
    Did you check if it's possible to include foreign characters yet?
    As far as I'm aware a good econding should be UTF-8 and my guess is that the tool converts the text to something like Windows-1250.

    I got some characters expiring soon and really wanna voice my mod with this tool.
    1. BunnyPriestess
      BunnyPriestess
      • supporter
      • 152 kudos
      I haven't had any time to work on the tool lately. As it stands now special/foreign characters can not be used in file names. The tool will recognize them for tts input to elevenlabs, but the csv batch generate function will not. It may be possible to work around this problem by ensuring the csv file is saved in a utf-8 encoded format already, but I haven't tested that, so I'm not sure.
    2. Plasquar
      Plasquar
      • supporter
      • 5 kudos
      All righty.
      I tried different encodings for my CSV file, even tried to make it read-only but it doesn't seem to have any effect.
      For now us Germans can still use the tool to some extent by automatically removing any line containing special characters.
  10. megaman2k
    megaman2k
    • premium
    • 150 kudos
    I'm looking forward to trying this one! (Especially since I've got 30k characters that expire in 6 days!)
    1. BunnyPriestess
      BunnyPriestess
      • supporter
      • 152 kudos
      That'll take about 5 minutes to generate. :o
    2. megaman2k
      megaman2k
      • premium
      • 150 kudos
      OK. It's gonna take a bit of creativity to incorporate it into my typical workflow (I usually generate lines first before putting them in the CK, since I have scripts to handle .lip + .fuz and creating the plugin records) but it seems to work well enough! And it saves me the effort of writing my own python. :D

      Thanks! And endorsed!
  11. Plasquar
    Plasquar
    • supporter
    • 5 kudos
    Awesome tool, endorsed!
    Works for pretty much every game out there.

    One question, which might has nothing to do with your tool.
    When generating speech in the tool itself, it works for special characters we have in Germany (ä, ö, ü).
    When using batch generate, it replaces those special characters with some gibberish, even though the csv file still shows them correctly.

    Is there any encoding being done by the tool, or did I fail to prepare the csv correctly?
    1. BunnyPriestess
      BunnyPriestess
      • supporter
      • 152 kudos
      The problem would be that I didn't take into account special characters when writing the code. The tool is a python based application, so special encoding is required for special characters. I'll see if I can add a fix for this with the next update of the app.

      It may work with the direct speech generation simply because it's sending the raw data to elevenlabs, but the csv batch generation has a bit more processing within the script itself. It should be a relatively simple fix so I'll see what I can do.
    2. Plasquar
      Plasquar
      • supporter
      • 5 kudos
      Coolio, thanks a lot!