Skip to content

Commit

Permalink
GITBOOK-203: No subject
Browse files Browse the repository at this point in the history
  • Loading branch information
Ambika Joshi authored and gitbook-bot committed Jan 28, 2025
1 parent 91daa0b commit a2f7dfb
Show file tree
Hide file tree
Showing 10 changed files with 83 additions and 2 deletions.
Binary file added .gitbook/assets/BULK-RUN-API (1).jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/BULK-RUN-API (2) (1).jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/BULK-RUN-API (2).jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/BULK-RUN-API (3).jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/BULK-RUN-API.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
* [⚖️ Understanding Bulk Runner and Evaluation](guides/understanding-bulk-runner-and-evaluation/README.md)
* [💪 How to set up Bulk Runner?](guides/understanding-bulk-runner-and-evaluation/how-to-set-up-bulk-runner.md)
* [🕵️‍♀️ How to set up Evaluations?](guides/understanding-bulk-runner-and-evaluation/how-to-set-up-evaluations.md)
* [How to use Bulk Run via API](guides/understanding-bulk-runner-and-evaluation/how-to-use-bulk-run-via-api.md)
* [👄 How to use AI Lip Sync Generator?](guides/how-to-use-ai-lip-sync-generator/README.md)
* [Lip Sync Animation Generator (WITH AUDIO FILES)](guides/how-to-use-ai-lip-sync-generator/lip-sync-animation-generator-with-audio-files.md)
* [LipSync videos with Custom Voices](guides/how-to-use-ai-lip-sync-generator/lipsync-videos-with-custom-voices.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@ hidden: true

# Frequently Asked Questions about Workspaces

### Q: Where can I find all my workspaces? 
Q: How can I shift between my Workspace and my account? 

A: Click the icon on the top right to see your workspace and personal account. 

{% hint style="warning" %}
NOTE: The team or personal icon on top determines whose credits you are using for a run. If you hit "Run" on any Gooey.AI workflow and the "personal" icon is on the top right, it means your credits from the "personal" workspace will be debited. 
{% endhint %}

### Q: How can I manage my Workspace settings?

A: Select the workspace in the top right corner, click on "Open Workspace". You will be led to the relevant workspace. 

Q: What are the various Workspaces roles?

### Q: What are workspace roles?

<table><thead><tr><th width="309">Feature</th><th width="152">Owner</th><th>Admin</th><th>Member</th></tr></thead><tbody><tr><td>Billing</td><td>✅</td><td>✅</td><td>❌</td></tr><tr><td>Workspace Info Edit<br>(logo, name, description, handle)</td><td>✅</td><td>✅</td><td>❌</td></tr><tr><td>API Keys (Create and Delete)</td><td>✅</td><td>✅</td><td>✅</td></tr><tr><td>Shared Workflows (View and Edit)</td><td>✅</td><td>✅</td><td>✅</td></tr></tbody></table>

A: Click the icon on the top right to see all your&#x20;
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
---
icon: code
---

# How to use Bulk Run via API

### Step 1

* Run the TTS models you want to test on the UI.&#x20;
* Copy the links of the test runs&#x20;

<figure><img src="../../.gitbook/assets/BULK-RUN-API (3).jpg" alt=""><figcaption></figcaption></figure>

### Step 2

* Open Gooey.AI bulk&#x20;
* Head to the API tab&#x20;
* Click on the “curl” tab

<figure><img src="../../.gitbook/assets/BULK-RUN-API (1).jpg" alt=""><figcaption></figcaption></figure>

EXAMPLE:&#x20;

{% embed url="https://gooey.ai/bulk/compare-swahili-speech-recognition-ehrfs6a0yukt/api/" %}

### Step 3

* Add your CSV/google sheet in the documents section (see a screenshot of the CSV example below)&#x20;
* Add your run URLs in the run\_urls section.
* Point to the correct column for the input in input\_columns

```sh
curl 'https://api.gooey.ai/v2/bulk-runner?example_id=ehrfs6a0yukt' \
-H "Authorization: bearer $GOOEY_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"documents": [
"https://docs.google.com/spreadsheets/d/1EsQ_NKhyNikNNO3xLV9GOc6C5LTflu9dJ5CSpHqNUQs/edit?gid=0#gid=0"
],
"run_urls": [
"https://gooey.ai/compare-text-to-speech-engines/?run_id=todlwvm01l31&uid=fm165fOmucZlpa5YHupPBdcvDR02",
"https://gooey.ai/compare-text-to-speech-engines/?run_id=j8v9fqrfl26o&uid=fm165fOmucZlpa5YHupPBdcvDR02",
],
"input_columns": {
"text_prompt": "Column Name"
},
"output_columns": {
"price": "Price",
"run_url": "Run URL",
"run_time": "Run Time",
"output_text": "Output Text",
"raw_output_text": "Raw Output Text"
}
}'
```

<figure><img src="../../.gitbook/assets/Screenshot 2025-01-28 at 2.23.00 PM.png" alt=""><figcaption></figcaption></figure>

### How can I calculate the credits?&#x20;

<figure><img src="../../.gitbook/assets/BULK-RUN-API (2) (1).jpg" alt=""><figcaption></figcaption></figure>

* Please check the credit per run in the sample run you run for your bulk run.&#x20;
* This should be the average cost per run.
* Since you are running Bulk API, you can also check the credits for every run by adding `"price": "Price"` in the `"output_columns"` section

0 comments on commit a2f7dfb

Please sign in to comment.