10-of-my-most-popular-text-to-image-series-prompts-78b0897e
generate a bunch of images, then you curate the results to handpick the best ones
Use Sarvam AI for Indian language Text-to-Speech (TTS), Speech-to-Text (STT), Translation, and Chat.
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install iammhk/sarvamInspect the source and compatibility requirements, then follow its installation steps.
Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.
This skill provides access to Sarvam AI's suite of Indian language models.
Generate speech from text in various Indian languages.
python skills/sarvam/scripts/sarvam_cli.py tts "Namaste, kaise hain aap?" --lang hi-IN --speaker meera --output hello.wav
Parameters:
text: The text to speak.--lang: Language code (e.g., hi-IN for Hindi, bn-IN for Bengali, etc.).--speaker: Voice ID (e.g., meera, pavithra, arvind).--output: Output file path (default: output.wav).Transcribe audio files.
python skills/sarvam/scripts/sarvam_cli.py stt path/to/audio.wav --model saaras:v3
Parameters:
file: Path to the audio file (wav, mp3).--model: Model to use (default: saaras:v3).--mode: STT Mode: transcribe (default), translate (to English), verbatim, translit, codemix.Translate text between Indian languages and English.
python skills/sarvam/scripts/sarvam_cli.py translate "Hello, how are you?" --source en-IN --target hi-IN
Parameters:
text: Text to translate.--source: Source language code.--target: Target language code.Interact with Sarvam's LLM (sarvam-2g).
python skills/sarvam/scripts/sarvam_cli.py chat "What is the capital of India?"
Parameters:
message: User message.--model: Model to use (default: sarvam-2g).--system: Optional system prompt.Environment Variable:
Ensure your API key is set in .env (already done for this workspace):
SARVAM_API_KEY="sk_..."
Virtual Environment:
The skill uses a local virtual environment at skills/sarvam/.venv.
Dependencies (requests) are pre-installed here.
Use the virtual environment's Python to run commands:
skills/sarvam/.venv/bin/python skills/sarvam/scripts/sarvam_cli...
These signals come from indexed source analysis and may lag behind changes. Check the current source files.
# Sarvam AI Skill
This skill provides access to Sarvam AI's suite of Indian language models.
## Usage
### Text to Speech (TTS)
Generate speech from text in various Indian languages.
```bash
python skills/sarvam/scripts/sarvam_cli.py tts "Namaste, kaise hain aap?" --lang hi-IN --speaker meera --output hello.wav
```
**Parameters:**
- `text`: The text to speak.
- `--lang`: Language code (e.g., `hi-IN` for Hindi, `bn-IN` for Bengali, etc.).
- `--speaker`: Voice ID (e.g., `meera`, `pavithra`, `arvind`).
- `--output`: Output file path (default: `output.wav`).
### Speech to Text (STT)
Transcribe audio files.
```bash
python skills/sarvam/scripts/sarvam_cli.py stt path/to/audio.wav --model saaras:v3
```
**Parameters:**
- `file`: Path to the audio file (wav, mp3).
- `--model`: Model to use (default: `saaras:v3`).
- `--mode`: STT Mode: `transcribe` (default), `translate` (to English), `verbatim`, `translit`, `codemix`.
### Translation
Translate text between Indian languages and English.
```bash
python skills/sarvam/scripts/sarvam_cli.py translate "Hello, how are you?" --source en-IN --target hi-IN
```
**Parameters:**
- `text`: Text to translate.
- `--source`: Source language code.
- `--target`: Target language code.
### Chat
Interact with Sarvam's LLM (sarvam-2g).
```bash
python skills/sarvam/scripts/sarvam_cli.py chat "What is the capital of India?"
```
**Parameters:**
- `message`: User message.
- `--model`: Model to use (default: `sarvam-2g`).
- `--system`: Optional system prompt.
## Setup
1. **Environment Variable:**
Ensure your API key is set in `.env` (already done for this workspace):
```bash
SARVAM_API_KEY="sk_..."
```
2. **Virtual Environment:**
The skill uses a local virtual environment at `skills/sarvam/.venv`.
Dependencies (`requests`) are pre-installed here.
## Usage
Use the virtual environment's Python to run commands:
### Text to Speech (TTS)
```bash
skills/sarvam/.venv/bin/python skills/sarvam/scripts/sarvam_cli...generate a bunch of images, then you curate the results to handpick the best ones
generate a bunch of images, then you curate the results to handpick the best ones
Productivity system based on Maya calendar with 13 natural tones for project management and personal development
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.