सामग्री पर जाएँ

ब्लैक फ्राइडे: वार्षिक प्लान पर 70% की छूट, आपके पहले महीने पर 50% की छूट। रविवार, 6 दिसंबर को समाप्त।

कीमतें देखेंकीमतें देखें
Lingivio
मुफ़्त आज़माएँडैशबोर्ड पर जाएँ

AI एजेंट और ऑटोमेशन

Lingivio पूरी दस्तावेज़ फ़ाइलों का अनुवाद करता है और उनका लेआउट, सूत्र और संख्याएँ बनाए रखते हुए उसी प्रकार की फ़ाइल लौटाता है। कोई AI एजेंट, स्क्रिप्ट या वर्कफ़्लो टूल REST API के ज़रिए वह सब कर सकता है जो ऐप करता है। यह पृष्ठ संक्षिप्त मार्गदर्शिका है। API संदर्भ में हर एंडपॉइंट है।

कनेक्ट करने के तरीके और अभी क्या उपलब्ध है

REST API उपलब्ध

एपीआई कुंजी से फ़ाइल अपलोड करें, उसकी क्रेडिट लागत देखें, उसका अनुवाद करें और परिणाम डाउनलोड करें। Business और Enterprise प्लान में यह शामिल है।

क्विकस्टार्ट से शुरू करें
MCP सर्वर उपलब्ध

अपने खाते से साइन इन करके और अपने क्रेडिट से भुगतान करके Claude, ChatGPT, Cursor और किसी भी अन्य MCP क्लाइंट से Lingivio इस्तेमाल करें।

यह कैसे काम करता है
llms.txt उपलब्ध

भाषा मॉडल के लिए इस साइट की सादे टेक्स्ट में अनुक्रमणिका और इस गाइड व उसके उदाहरणों वाला विस्तृत संस्करण।

llms-full.txt पढ़ें
Zapier, n8n और Make योजनाबद्ध

बिना कोड वाले कनेक्टर, ताकि कोई वर्कफ़्लो बिना कोड लिखे दस्तावेज़ का अनुवाद कर सके। ये योजनाबद्ध हैं और अभी उपलब्ध नहीं हैं। तब तक, वर्कफ़्लो टूल के HTTP चरण से REST API कॉल करें।

एजेंट क्या कर सकता है

किसी फ़ाइल का अनुवाद करें और उसी प्रकार की फ़ाइल वापस पाएँ। समर्थित फ़ॉर्मैट:

  • .txt
  • .md
  • .csv
  • .html
  • .srt
  • .xlsx
  • .docx
  • .pptx
  • .odt
  • .ods
  • .odp
  • .pdf
  • .png
  • .jpg
  • .webp
  • कोई शुल्क लगने से पहले अपलोड के जवाब से क्रेडिट की सटीक लागत पढ़ें। यदि लागत कार्य पर खर्च की जाने वाली राशि से अधिक हो तो रुक जाएँ।
  • एक बैच अनुरोध में अधिकतम 20 फ़ाइलें भेजें।
  • वास्तविक प्रगति देखें: कुल खंडों में से पूरे हुए खंड।
  • एक स्थिर त्रुटि वर्ग के आधार पर निर्णय लें। यह बताता है कि पुनः प्रयास से मदद मिल सकती है या नहीं और आरक्षित क्रेडिट का क्या हुआ।

यह क्या नहीं करता

  • यह फ़ाइलों का अनुवाद करता है, अलग से दिए गए टेक्स्ट का नहीं। सार्वजनिक API में स्ट्रिंग के लिए कोई एंडपॉइंट नहीं है। टेक्स्ट को .txt या .md फ़ाइल के रूप में भेजें।
  • अपलोड और उनके अनुवाद अपलोड के 24 घंटों के भीतर हटा दिए जाते हैं। परिणाम तुरंत डाउनलोड करें।
  • स्कैन किए गए PDF में अधिकतम 100 पृष्ठ हो सकते हैं। हर प्लान फ़ाइल के आकार और एक फ़ाइल की क्रेडिट लागत की सीमा भी तय करता है। मूल्य निर्धारण पृष्ठ पर दोनों सूचीबद्ध हैं।
  • हर भाषा हर फ़ॉर्मैट में उपलब्ध नहीं है। PDF और इमेज आउटपुट में Office और टेक्स्ट फ़ाइलों की तुलना में कम लेखन प्रणालियों का समर्थन है। भाषा पृष्ठ पर हर जोड़ी सूचीबद्ध है।

कुंजी प्राप्त करें

Business और Enterprise प्लान में API पहुँच शामिल है। सेटिंग → एपीआई कुंजियाँ में कुंजी बनाएँ। कुंजी एक बार दिखाई जाती है। हर अनुरोध में इसे बेयरर टोकन के रूप में भेजें।

कुंजी एजेंट के रनटाइम को दें, मॉडल को नहीं। इसे ऐसे एनवायरनमेंट वेरिएबल में रखें जिसे टूल का कोड पढ़ता हो। इसे कभी भी प्रॉम्प्ट, टूल आर्गुमेंट या मॉडल द्वारा खोली जा सकने वाली फ़ाइल में न रखें।

JavaScript
const res = await fetch('https://api.lingivio.com/v1/me', {
  headers: { Authorization: `Bearer ${process.env.LINGIVIO_KEY}` },
});
console.log(res.status, await res.json());
TypeScript
const res: Response = await fetch('https://api.lingivio.com/v1/me', {
  headers: { Authorization: `Bearer ${process.env.LINGIVIO_KEY}` },
});
console.log(res.status, await res.json());
Python
import os
import httpx

res = httpx.get(
    "https://api.lingivio.com/v1/me",
    headers={"Authorization": f"Bearer {os.environ['LINGIVIO_KEY']}"},
)
print(res.status_code, res.json())
Ruby
require "json"
require "net/http"

uri = URI("https://api.lingivio.com/v1/me")
req = Net::HTTP::Get.new(uri, "Authorization" => "Bearer #{ENV.fetch("LINGIVIO_KEY")}")
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
puts res.code, JSON.parse(res.body)
Go
package main

import (
	"fmt"
	"io"
	"net/http"
	"os"
)

func main() {
	req, _ := http.NewRequest("GET", "https://api.lingivio.com/v1/me", nil)
	req.Header.Set("Authorization", "Bearer "+os.Getenv("LINGIVIO_KEY"))
	res, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)
	fmt.Println(res.StatusCode, string(body))
}
cURL
curl https://api.lingivio.com/v1/me -H "Authorization: Bearer $LINGIVIO_KEY"

फ़ाइल का अनुवाद करें

इस कोड को बिल्कुल वैसा ही कॉपी करें। यह PDF अपलोड करता है और उसका सत्यापित प्रकार, पहचानी गई भाषा और क्रेडिट लागत पढ़ता है। फिर यह PDF का जापानी में साथ-साथ अनुवाद करता है, पूरा होने तक पोल करता है और परिणाम डाउनलोड करता है।

JavaScript
// Node 18+, Bun or Deno — save as translate.mjs and run `node translate.mjs`.
import { readFile, writeFile } from 'node:fs/promises';

const API = 'https://api.lingivio.com';
const auth = { Authorization: `Bearer ${process.env.LINGIVIO_KEY}` };

// 1. Upload. The answer carries the verified content type, the detected source language and the
//    real credit count, so you can price the job before you start it.
const form = new FormData();
form.append('file', new Blob([await readFile('report.pdf')]), 'report.pdf');
const file = await fetch(`${API}/v1/files`, { method: 'POST', headers: auth, body: form })
  .then((r) => r.json());
if (!file.id) throw new Error(JSON.stringify(file.error));
console.log(file.content_type, file.detected_source_language, file.credits);

// 2. Translate. The same Idempotency-Key and body return the SAME translation, billed once.
let job = await fetch(`${API}/v1/translations`, {
  method: 'POST',
  headers: { ...auth, 'content-type': 'application/json', 'Idempotency-Key': crypto.randomUUID() },
  body: JSON.stringify({ file_id: file.id, target_language: 'ja', side_by_side: true }),
}).then((r) => r.json());

// 3. Poll while the job is IN PROGRESS, on REAL segment counts. Every other answer ends the loop:
//    done, failed, canceled, needs_review — or no status at all (an error answer).
const IN_PROGRESS = ['pending', 'queued', 'dispatched', 'running', 'cancel_requested'];
while (IN_PROGRESS.includes(job.status)) {
  await new Promise((resolve) => setTimeout(resolve, 3000));
  job = await fetch(`${API}/v1/translations/${job.id}`, { headers: auth }).then((r) => r.json());
  if (job.progress) console.log(job.progress.done, '/', job.progress.total);
}
// Only a finished job has an output; `error.class` is stable and machine-readable.
if (job.status !== 'done') throw new Error(`${job.status ?? 'no status'}: ${JSON.stringify(job.error)}`);

// 4. Download
const out = await fetch(`${API}/v1/translations/${job.id}/output`, { headers: auth });
await writeFile('report.ja.pdf', Buffer.from(await out.arrayBuffer()));
TypeScript
// TypeScript on Node 18+ (tsx), Bun or Deno — save as translate.ts and run `npx tsx translate.ts`.
import { readFile, writeFile } from 'node:fs/promises';

const API = 'https://api.lingivio.com';
const auth = { Authorization: `Bearer ${process.env.LINGIVIO_KEY}` };

interface ApiError { class: string; retryable: boolean; credit_action: string }
interface PublicFile { id: string; content_type: string; detected_source_language: string | null; credits: number | null }
interface PublicTranslation {
  id: string;
  status: string;
  progress: { done: number; total: number } | null;
  error: ApiError | null;
}

// 1. Upload: the answer is the verified file, with its real credit count.
const form = new FormData();
form.append('file', new Blob([await readFile('report.pdf')]), 'report.pdf');
const upload = await fetch(`${API}/v1/files`, { method: 'POST', headers: auth, body: form });
const file = (await upload.json()) as PublicFile & { error?: ApiError };
if (!upload.ok) throw new Error(file.error?.class);
console.log(file.content_type, file.detected_source_language, file.credits);

// 2. Translate (idempotent: a retry with the same key and body is billed once)
let job = (await fetch(`${API}/v1/translations`, {
  method: 'POST',
  headers: { ...auth, 'content-type': 'application/json', 'Idempotency-Key': crypto.randomUUID() },
  body: JSON.stringify({ file_id: file.id, target_language: 'ja', side_by_side: true }),
}).then((r) => r.json())) as Partial<PublicTranslation>;

// 3. Poll while the job is IN PROGRESS. Every other answer ends the loop: done, failed, canceled,
//    needs_review — or no status at all (an error answer).
const IN_PROGRESS: string[] = ['pending', 'queued', 'dispatched', 'running', 'cancel_requested'];
while (job.status !== undefined && IN_PROGRESS.includes(job.status)) {
  await new Promise((resolve) => setTimeout(resolve, 3000));
  job = (await fetch(`${API}/v1/translations/${job.id}`, { headers: auth }).then((r) => r.json())) as PublicTranslation;
  if (job.progress) console.log(job.progress.done, '/', job.progress.total);
}
if (job.status !== 'done') throw new Error(`${job.status ?? 'no status'}: ${JSON.stringify(job.error)}`);

// 4. Download
const out = await fetch(`${API}/v1/translations/${job.id}/output`, { headers: auth });
await writeFile('report.ja.pdf', new Uint8Array(await out.arrayBuffer()));
Python
# Python 3.9+ with httpx (pip install httpx).
import os
import time
import uuid
import httpx

API = "https://api.lingivio.com"
auth = {"Authorization": f"Bearer {os.environ['LINGIVIO_KEY']}"}

with httpx.Client(base_url=API, headers=auth, timeout=120) as http:
    # 1. Upload: the answer carries the verified type, the source language and the real credits.
    with open("report.pdf", "rb") as fh:
        file = (
            http.post("/v1/files", files={"file": ("report.pdf", fh)})
            .raise_for_status()
            .json()
        )
    print(file["content_type"], file["detected_source_language"], file["credits"])

    # 2. Translate (idempotent: a retry with the same key and body is billed once)
    job = (
        http.post(
            "/v1/translations",
            headers={"Idempotency-Key": str(uuid.uuid4())},
            json={"file_id": file["id"], "target_language": "ja", "side_by_side": True},
        )
        .raise_for_status()
        .json()
    )

    # 3. Poll while the job is IN PROGRESS, on REAL segment counts. Every other answer ends the
    #    loop: done, failed, canceled, needs_review — or no status at all (an error answer).
    IN_PROGRESS = {"pending", "queued", "dispatched", "running", "cancel_requested"}
    while job.get("status") in IN_PROGRESS:
        time.sleep(3)
        job = http.get(f"/v1/translations/{job['id']}").json()
        if job.get("progress"):
            print(job["progress"]["done"], "/", job["progress"]["total"])
    # Only a finished job has an output; error.class is stable and machine-readable.
    if job.get("status") != "done":
        raise RuntimeError(f"{job.get('status', 'no status')}: {job.get('error')}")

    # 4. Download
    out = http.get(f"/v1/translations/{job['id']}/output").raise_for_status()
    with open("report.ja.pdf", "wb") as fh:
        fh.write(out.content)
Ruby
# Ruby 3+, standard library only.
require "json"
require "net/http"
require "securerandom"

API = URI("https://api.lingivio.com")
KEY = ENV.fetch("LINGIVIO_KEY")

def call(request)
  request["Authorization"] = "Bearer #{KEY}"
  Net::HTTP.start(API.host, API.port, use_ssl: API.scheme == "https") { |http| http.request(request) }
end

# 1. Upload: the answer carries the verified type, the source language and the real credits.
upload = Net::HTTP::Post.new("/v1/files")
upload.set_form([["file", File.open("report.pdf", "rb"), { filename: "report.pdf" }]], "multipart/form-data")
file = JSON.parse(call(upload).body)
raise file["error"].to_s unless file["id"]
puts [file["content_type"], file["detected_source_language"], file["credits"]].join(" ")

# 2. Translate (idempotent: a retry with the same key and body is billed once)
start = Net::HTTP::Post.new("/v1/translations", "content-type" => "application/json",
                            "Idempotency-Key" => SecureRandom.uuid)
start.body = JSON.generate(file_id: file["id"], target_language: "ja", side_by_side: true)
job = JSON.parse(call(start).body)

# 3. Poll while the job is IN PROGRESS. Every other answer ends the loop: done, failed, canceled,
#    needs_review — or no status at all (an error answer).
IN_PROGRESS = ["pending", "queued", "dispatched", "running", "cancel_requested"]
while IN_PROGRESS.include?(job["status"])
  sleep 3
  job = JSON.parse(call(Net::HTTP::Get.new("/v1/translations/#{job["id"]}")).body)
  puts "#{job["progress"]["done"]} / #{job["progress"]["total"]}" if job["progress"]
end
raise "#{job["status"] || "no status"}: #{job["error"]}" if job["status"] != "done"

# 4. Download
out = call(Net::HTTP::Get.new("/v1/translations/#{job["id"]}/output"))
File.binwrite("report.ja.pdf", out.body)
Go
// Go 1.21+, standard library only: go run translate.go
package main

import (
	"bytes"
	"crypto/rand"
	"encoding/json"
	"fmt"
	"io"
	"mime/multipart"
	"net/http"
	"os"
	"slices"
	"time"
)

const api = "https://api.lingivio.com"

var key = os.Getenv("LINGIVIO_KEY")

type translation struct {
	ID       string                     `json:"id"`
	Status   string                     `json:"status"`
	Progress *struct{ Done, Total int } `json:"progress"`
	Error    json.RawMessage            `json:"error"`
}

func call(method, path, contentType string, body io.Reader, headers map[string]string) *http.Response {
	req, _ := http.NewRequest(method, api+path, body)
	req.Header.Set("Authorization", "Bearer "+key)
	if contentType != "" {
		req.Header.Set("Content-Type", contentType)
	}
	for k, v := range headers {
		req.Header.Set(k, v)
	}
	res, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	return res
}

func decode(res *http.Response, into any) {
	defer res.Body.Close()
	if err := json.NewDecoder(res.Body).Decode(into); err != nil {
		panic(err)
	}
}

func main() {
	// 1. Upload: the answer carries the verified type, the source language and the real credits.
	var form bytes.Buffer
	mw := multipart.NewWriter(&form)
	part, _ := mw.CreateFormFile("file", "report.pdf")
	pdf, _ := os.ReadFile("report.pdf")
	part.Write(pdf)
	mw.Close()
	var file struct {
		ID                     string          `json:"id"`
		ContentType            string          `json:"content_type"`
		DetectedSourceLanguage string          `json:"detected_source_language"`
		Credits                int             `json:"credits"`
		Error                  json.RawMessage `json:"error"`
	}
	decode(call("POST", "/v1/files", mw.FormDataContentType(), &form, nil), &file)
	if file.ID == "" {
		panic(string(file.Error))
	}
	fmt.Println(file.ContentType, file.DetectedSourceLanguage, file.Credits)

	// 2. Translate (idempotent: a retry with the same key and body is billed once)
	idem := make([]byte, 16)
	rand.Read(idem)
	body, _ := json.Marshal(map[string]any{"file_id": file.ID, "target_language": "ja", "side_by_side": true})
	var job translation
	decode(call("POST", "/v1/translations", "application/json", bytes.NewReader(body),
		map[string]string{"Idempotency-Key": fmt.Sprintf("%x", idem)}), &job)

	// 3. Poll while the job is IN PROGRESS. Every other answer ends the loop: done, failed,
	//    canceled, needs_review — or no status at all (an error answer).
	inProgress := []string{"pending", "queued", "dispatched", "running", "cancel_requested"}
	for slices.Contains(inProgress, job.Status) {
		time.Sleep(3 * time.Second)
		id := job.ID
		job = translation{}
		decode(call("GET", "/v1/translations/"+id, "", nil, nil), &job)
		if job.Progress != nil {
			fmt.Println(job.Progress.Done, "/", job.Progress.Total)
		}
	}
	if job.Status != "done" {
		panic(fmt.Sprintf("%q: %s", job.Status, job.Error))
	}

	// 4. Download
	res := call("GET", "/v1/translations/"+job.ID+"/output", "", nil, nil)
	defer res.Body.Close()
	out, _ := os.Create("report.ja.pdf")
	defer out.Close()
	io.Copy(out, res.Body)
}
cURL
# 1. Create a key in Settings → API keys (Business and Enterprise plans), then:
export KEY="llk_your_key_here"
export API="https://api.lingivio.com"

# 2. Upload the file. The response carries the VERIFIED content type, the detected
#    source language and the real credit count — so you can price the job first.
#    (`page_count` is the same number under its old, misleading name; prefer `credits`.)
FILE=$(curl -s -X POST "$API/v1/files" \
  -H "Authorization: Bearer $KEY" \
  -F "file=@report.pdf")
echo "$FILE" | jq '{id, content_type, detected_source_language, credits}'
FILE_ID=$(echo "$FILE" | jq -r .id)

# 3. Start the translation. Idempotency-Key makes a retry safe: the same key with the
#    same body returns the SAME translation and is billed once.
JOB=$(curl -s -X POST "$API/v1/translations" \
  -H "Authorization: Bearer $KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "content-type: application/json" \
  -d '{"file_id":"'"$FILE_ID"'","target_language":"ja","side_by_side":true}')
JOB_ID=$(echo "$JOB" | jq -r .id) # null if refused: "$JOB" then names the error class

# 4. Poll while the job is IN PROGRESS. progress.done / progress.total are REAL segment counts.
#    Every other answer ends the loop: done, failed, canceled, needs_review — or no status at all
#    (an error answer: the job was refused, expired, or the key was revoked).
IN_PROGRESS=" pending queued dispatched running cancel_requested "
STATUS=$(echo "$JOB" | jq -r '.status // empty')
while [ -n "$STATUS" ] && [[ "$IN_PROGRESS" == *" $STATUS "* ]]; do
  sleep 3
  JOB=$(curl -s "$API/v1/translations/$JOB_ID" -H "Authorization: Bearer $KEY")
  STATUS=$(echo "$JOB" | jq -r '.status // empty')
done

# 5. Download — only a finished job has an output. Anything else: the answer names the error class.
if [ "$STATUS" = done ]; then
  curl -s "$API/v1/translations/$JOB_ID/output" -H "Authorization: Bearer $KEY" -o report.ja.pdf
else
  echo "$JOB" | jq '{status, error}'
fi
बड़ी फ़ाइलें, भाषाएँ और फ़ॉर्मैट, और पूरी संदर्भ जानकारी

इसे एजेंट को टूल के रूप में दें

एक Python फ़ंक्शन जिसे एजेंट फ़्रेमवर्क टूल के रूप में पंजीकृत कर सकता है, साथ में मॉडल के लिए JSON Schema। यह आपकी दी गई सीमा से अधिक लागत वाली फ़ाइल अस्वीकार करता है। यह फ़ाइल और भाषा से अपना Idempotency-Key बनाता है ताकि दोबारा की गई कॉल का शुल्क एक बार लगे। यह त्रुटि उठाने के बजाय उसे लौटाता है ताकि एजेंट अगला कदम तय कर सके।

Python
# A tool an AI agent can call: translate one local file and save the result beside it.
# Register `translate_document` with your agent framework and give the model TOOL_SCHEMA.
import os
import time
import httpx

API = "https://api.lingivio.com"
auth = {"Authorization": f"Bearer {os.environ['LINGIVIO_KEY']}"}

TOOL_SCHEMA = {
    "name": "translate_document",
    "description": "Translate a document file into another language and save a file of the "
    "same type. Layout, formulas, numbers and codes are kept. Costs credits.",
    "input_schema": {
        "type": "object",
        "properties": {
            "path": {"type": "string", "description": "Path of the file to translate"},
            "target_language": {
                "type": "string",
                "description": "Language code, e.g. de",
            },
            "max_credits": {"type": "integer", "description": "Refuse above this cost"},
        },
        "required": ["path", "target_language"],
    },
}

# Every other answer ends the poll: done, failed, canceled, needs_review, or an error answer.
IN_PROGRESS = {"pending", "queued", "dispatched", "running", "cancel_requested"}


def translate_document(
    path: str, target_language: str, max_credits: int | None = None
) -> dict:
    """{"output": path, "credits": n} on success; otherwise {"error": ...} to branch on."""
    with httpx.Client(base_url=API, headers=auth, timeout=120) as http:
        # 1. Upload. The answer carries the verified credit cost; nothing is charged yet.
        with open(path, "rb") as fh:
            r = http.post("/v1/files", files={"file": (os.path.basename(path), fh)})
        file = r.json()
        if r.is_error:
            return {"error": file.get("error")}
        if max_credits is not None and file["credits"] > max_credits:
            return {"error": "over_budget", "credits": file["credits"]}

        # 2. Translate. The key is derived from the file and the language, so an agent that
        #    retries this step gets the SAME translation back and is billed once.
        r = http.post(
            "/v1/translations",
            headers={"Idempotency-Key": f"translate-{file['id']}-{target_language}"},
            json={"file_id": file["id"], "target_language": target_language},
        )
        job = r.json()

        # 3. Poll on real segment counts.
        while job.get("status") in IN_PROGRESS:
            time.sleep(3)
            job = http.get(f"/v1/translations/{job['id']}").json()
        if job.get("status") != "done":
            return {"error": job.get("error"), "status": job.get("status")}

        # 4. Download a file of the same type.
        out = http.get(f"/v1/translations/{job['id']}/output").raise_for_status()
        root, ext = os.path.splitext(path)
        output = f"{root}.{target_language}{ext}"
        with open(output, "wb") as fh:
            fh.write(out.content)
        return {"output": output, "credits": file["credits"]}


if __name__ == "__main__":
    print(translate_document("report.docx", target_language="de"))

इसके लिए Python 3.10 या बाद का संस्करण और httpx चाहिए। यह क्विकस्टार्ट वाले ही एंडपॉइंट कॉल करता है। यह किसी एक एजेंट फ़्रेमवर्क से बँधा नहीं है।

एजेंट के लिए नियम

आइडेम्पोटेंसी

किसी भी POST पर Idempotency-Key भेजें। समान बॉडी के साथ वही कुंजी पहले कॉल द्वारा बनाया गया संसाधन लौटाती है और ठीक एक बार शुल्क लगता है। अलग बॉडी के साथ वही कुंजी 409 के साथ अस्वीकार होती है। कुंजियाँ 24 घंटे याद रखी जाती हैं।

दर सीमाएँ

सीमाएँ प्रति कुंजी, 60 सेकंड की निश्चित अवधि में लागू होती हैं। हर उत्तर में X-RateLimit-Limit और X-RateLimit-Remaining होते हैं। 429 में Retry-After होता है। एक खाते की दो कुंजियों के लिए दो अलग-अलग सीमाएँ होती हैं।

त्रुटि वर्ग

हर विफलता में एक स्थिर वर्ग, पुनः प्रयास योग्य होने का फ़्लैग और आपके आरक्षित क्रेडिट की स्थिति होती है। वर्ग के आधार पर निर्णय लें, संदेश के टेक्स्ट के आधार पर कभी नहीं।

त्रुटि तालिका

क्रेडिट

फ़ाइल की कीमत उसी नियम से तय होती है जो ऐप में इस्तेमाल होता है और अपलोड के जवाब में यह संख्या होती है। अनुवाद विफल होने पर आरक्षित क्रेडिट का क्या होता है, यह त्रुटि वर्ग पर निर्भर करता है।

क्रेडिट कैसे काम करते हैं

MCP सर्वर

उपलब्ध

Lingivio MCP सर्वर की मदद से AI सहायक या कोड एडिटर (ChatGPT या Claude, या रिमोट MCP सर्वर का समर्थन करने वाला कोई भी क्लाइंट) आपके अपने खाते और क्रेडिट से दस्तावेज़ों के लिए मूल्य बता सकता है, उनका अनुवाद कर सकता है और उन्हें डाउनलोड कर सकता है।

सर्वर पता

https://api.lingivio.com/mcp

कनेक्ट करें और अनुवाद करें

  1. 1. ऊपर दिया गया सर्वर पता अपने क्लाइंट में जोड़ें: Claude या ChatGPT में कस्टम कनेक्टर के रूप में, या कोड एडिटर की MCP सेटिंग में। सेटअप गाइड में हर क्लाइंट के लिए सटीक चरण दिए गए हैं।
  2. 2. पहली बार कनेक्ट होने पर Lingivio की साइन-इन विंडो खुलती है। साइन इन करें, फिर Allow चुनें। आपका क्लाइंट कभी आपका पासवर्ड नहीं देखता और आपके खाते से कुछ भी नहीं खरीद सकता।
  3. 3. दस्तावेज़ संलग्न करें और भाषा बताएँ। Lingivio क्रेडिट में लागत निकालता है और आपकी पुष्टि तक कोई शुल्क नहीं लगता।
  4. 4. प्रगति देखें, फिर आपके सहायक द्वारा दिखाए गए लिंक से अनुवादित फ़ाइल डाउनलोड करें।

साइन-इन PKCE के साथ OAuth 2.1 है। सर्वर अपना OAuth मेटाडेटा मानक well-known पतों पर प्रकाशित करता है और हर एक्सेस टोकन इसी सर्वर से जुड़ा होता है।

अनुवाद प्रक्रिया में चार टूल हैं, जिन्हें इस क्रम में कॉल किया जाता है:

  1. prepare_translation
  2. start_translation
  3. get_translation_status
  4. get_download_link

केवल पढ़ने वाले टूल खाते, समर्थित भाषाओं और हाल के अनुवादों के बारे में सवालों के जवाब देते हैं।

Professional, Business, और Enterprise में शामिल है। किसी भी अन्य प्लान पर क्लाइंट कनेक्ट हो सकता है, लेकिन हर अनुरोध plan.mcp_access_required के साथ अस्वीकार कर दिया जाता है।

Claude, ChatGPT, Cursor और अन्य क्लाइंट के लिए सेटअप गाइड

Claude के लिए Lingivio स्किल

Claude चैट में आपके द्वारा जोड़ी गई फ़ाइलें खुद पढ़ता है और उन्हें कनेक्टर को नहीं भेजता। Lingivio स्किल Claude को अनुवाद के लिए आपका दस्तावेज़ एक बार इस्तेमाल होने वाले अपलोड लिंक से भेजने के लिए कहती है, ताकि आपको चैट में अनुवादित पाठ के बजाय लेआउट के साथ अनुवादित फ़ाइल मिले।

स्किल डाउनलोड करें (ZIP)

Claude में स्किल जोड़ें

  1. 1. Claude में Settings खोलें, फिर Capabilities खोलें और कोड चलाने और फ़ाइल बनाने की सुविधा चालू करें। स्किल के लिए इसकी ज़रूरत होती है।
  2. 2. Customize खोलें, फिर Skills खोलें। + चुनें, फिर Create skill और फिर Upload a skill चुनें।
  3. 3. डाउनलोड की गई ZIP चुनें। स्किल का नाम lingivio-translate-documents है। Lingivio कनेक्टर को भी कनेक्ट रखें: स्किल उसके टूल इस्तेमाल करती है।

Team या Enterprise प्लान पर, स्वामी सभी के लिए स्किल जोड़ सकता है: Organization settings में Plugins & skills खोलें, Policy टैब में Skills चालू करें, फिर Add और Upload a skill चुनें। यह हर सदस्य के लिए चालू होती है और हर सदस्य इसे बंद कर सकता है।

MCP सर्वर के प्रॉम्प्ट दिखाने वाले ऐप Lingivio का एक प्रॉम्प्ट भी दिखाते हैं: “Lingivio से दस्तावेज़ का अनुवाद करें”। यह पूछता है कि आपको कौन-सी भाषा चाहिए और वही प्रक्रिया शुरू करता है।

भाषा मॉडल के लिए

llms.txt इस साइट को llms.txt फ़ॉर्मैट में अनुक्रमित करता है। llms-full.txt में यह गाइड और उसके उदाहरण भी हैं, ताकि मॉडल एक बार प्राप्त करके Lingivio को कॉल करना सीख सके। OpenAPI दस्तावेज़ क्लाइंट जनरेटर के लिए हर एंडपॉइंट का वर्णन करता है।

आगे क्या

ईमेल से उत्पाद समाचार पाएँ

नई भाषाएँ और फ़ाइल प्रकार, अनुवाद के सुझाव और डेवलपर अपडेट।

सदस्यता लें

विश्लेषण और व्यक्तिगत विज्ञापनों के लिए कुकीज़ केवल तभी चलती हैं जब आप उन्हें स्वीकार करते हैं। कुकी नीति