Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.faseeh.ai/llms.txt

Use this file to discover all available pages before exploring further.

This guide provides instructions for configuring your applications to use Faseeh’s API endpoint.

Main API Endpoint

Faseeh’s API base URL:
https://api.faseeh.ai/api/v1

How to Use

  1. Use the base URL: All API requests should use https://api.faseeh.ai/api/v1 as the base URL
  2. Include your API key: Add your API key in the x-api-key header for authentication
  3. Set Content-Type: Include Content-Type: application/json header for JSON requests

Direct API Calls

cURL Example

# Base URL: https://api.faseeh.ai/api/v1

curl -X POST "https://api.faseeh.ai/api/v1/text-to-speech/faseeh-v1-preview" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "voice_id": "ar-najdi-male-2",
    "text": "مرحبا بك في فصيح",
    "stability": 0.5,
    "streaming": true,
    "speed": 1
  }'