وب‌سرویس ابزارها EN

وب‌سرویس ابزارهای لمورا

همهٔ ابزارهایی که هوش مصنوعی لمورا در چت استفاده می‌کند — ساخت پاورپوینت، Word، Excel و PDF، OCR، تبدیل صوت، حذف پس‌زمینه، نمودار، داده‌های بازار و... — به‌صورت API مستقیم هم در دسترس است. پردازش کامل روی سرورهای لمورا انجام می‌شود و هزینهٔ هر فراخوانی از کیف پول صاحب کلید کسر می‌شود.

همهٔ سرویس‌ها فعال و در دسترس‌اند آپ‌تایم وب‌سرویس ۳۰ روز: ۹۹.۹۷٪ موفقیت درخواست‌های واقعی: ۹۹.۶۹٪ کیفیت ۸ مدل آزموده: ۹۸٪ جزئیات وضعیت سرویس
احراز هویت (برای هر دو وب‌سرویس) Authorization: Bearer lsk-…
وب‌سرویس هوش مصنوعی (سازگار با OpenAI) https://lemura.ir/wp-json/lemuraai/v1
سازگار با Anthropic و Claude Code https://lemura.ir/anthropic
وب‌سرویس ابزارها https://lemura.ir/public/v1
موجودی کیف پول

یک کلید و یک کیف پول برای همه: هزینهٔ هر فراخوانی (مدل‌ها، ابزارها، ویدیو) از کیف پول صاحب کلید کسر و در گزارش مصرف ثبت می‌شود. قواعد درخواست، متدها، موجودی و کدهای خطا در هر دو وب‌سرویس یکسان است.

شروع سریع

آدرس پایه: https://lemura.ir/public/v1 — احراز هویت با هدر Authorization: Bearer lsk-... — قیمت‌ها برای پلن «رایگان»

# ساخت پاورپوینت
curl -X POST https://lemura.ir/public/v1/tools/pptx_generate \
  -H "Authorization: Bearer lsk-YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"title":"گزارش فصلی","slides":[{"title":"خلاصه","bullets":["رشد ۲۰٪","۳ محصول جدید"]}]}'

# ارسال فایل (multipart): فیلد فایل هم‌نام پارامتر ابزار است
curl -X POST "https://lemura.ir/public/v1/tools/ocr_image?wait=30" -H "Authorization: Bearer lsk-YOUR_KEY" \
  -F file=@scan.jpg -F 'args={"languages":["fa","en"]}'

# کارهای طولانی job_id برمی‌گردانند (HTTP 202)
curl https://lemura.ir/public/v1/jobs/job_xxx -H "Authorization: Bearer lsk-YOUR_KEY"
خروجی یکسان
{ ok, data, files[], error, meta } — فایل‌ها با لینک دانلود موقت
هزینه
پایه + وزن پردازش × واحد پردازش واقعی؛ مبلغ دقیق در meta.cost
خطاها
400 ورودی · 401 کلید · 402 موجودی · 403 دسترسی · 428 تأیید · 429 سقف

لمورا استودیو — میزبانی لمورا

این خدمات روی سرورهای اختصاصی لمورا پردازش می‌شوند و ناهمگام‌اند: درخواست ثبت و در صف قرار می‌گیرد (HTTP 202)، سپس وضعیت را با شناسهٔ کار بپرسید. خروجی‌ها لینک دانلود موقت دارند و صاحب کلید اعلان و پیامک «آماده شد» هم می‌گیرد. هزینه هنگام ثبت کسر و در صورت ناموفق بودن یا لغو، خودکار برگردانده می‌شود.

# فهرست خدمات، قیمت هر واحد و پارامترها
curl https://lemura.ir/public/v1/studio/services -H "Authorization: Bearer lsk-YOUR_KEY"

# تولید تصویر (بدون فایل ورودی)
curl -X POST https://lemura.ir/public/v1/studio/jobs -H "Authorization: Bearer lsk-YOUR_KEY" -H "Content-Type: application/json"   -d '{"service":"image_anime","prompt":"یک دختر جادوگر با عصای بنفش در جنگل","size":"832x1216","count":2}'

# ترجمه و زیرنویس فارسی ویدیو (آپلود مستقیم)
curl -X POST https://lemura.ir/public/v1/studio/jobs -H "Authorization: Bearer lsk-YOUR_KEY"   -F service=video_subtitle -F mode=hard -F file=@talk.mp4

# یا با فایلی که قبلاً با /files آپلود شده
curl -X POST https://lemura.ir/public/v1/studio/jobs -H "Authorization: Bearer lsk-YOUR_KEY" -H "Content-Type: application/json"   -d '{"service":"speech_to_text","lang":"fa","file_id":"f_xxxxxxxx"}'

# گفتار فارسی با صدای خودتان (نمونهٔ ۵ ثانیه‌ای + تأیید رضایت)
curl -X POST https://lemura.ir/public/v1/studio/jobs -H "Authorization: Bearer lsk-YOUR_KEY"   -F service=tts_fa -F text="سلام، به لمورا خوش آمدید." -F consent=1 -F file=@my_voice.wav

# وضعیت و خروجی (status: queued | running | done | failed | cancelled)
curl https://lemura.ir/public/v1/studio/jobs/123 -H "Authorization: Bearer lsk-YOUR_KEY"
curl https://lemura.ir/public/v1/studio/jobs -H "Authorization: Bearer lsk-YOUR_KEY"
curl -X POST https://lemura.ir/public/v1/studio/jobs/123/cancel -H "Authorization: Bearer lsk-YOUR_KEY"
خدمتserviceورودیپارامترهاقیمت
ادیتور ویدیو (تدوین هوشمند)
ویدیو را بدهید و بگویید چه می‌خواهید: هوش مصنوعی گفتار و تصویرِ هر ثانیه را می‌فهمد، زیرنویس افکت‌دار می‌گذارد، با فونت‌های حرفه‌ای و نوشته‌های سه‌بعدی درخشان؛ سکوت و مکث‌ها را حذف می‌کند، جاهای مهم زوم می‌کند، آیکون‌های سه‌بعدی، افکت صوتی و ترنزیشن می‌گذارد، کیفیت تصویر را بالا می‌برد و برای ریلز عمودی می‌کند.
video_edit فایل (video, ≤ 100MB) prompt
sub_style: bold3d|glow|pop|highlight|classic|box|neon|none
font_fa: auto|lalezar|vazir|estedad|sahel|shabnam|samim|gandom|tanha
font_en: auto|anton|bebas|luckiest|poppins|archivo|bangers|russo|bungee|righteous|lilita|titan|blackops
sub_lang: original|fa
sub_position: bottom|middle|top
accent: yellow|pink|cyan|green|purple|orange|white
aspect: original|9:16|1:1|16:9
silence: light|strong|off
zoom: auto|dynamic|off
transition: fade|slide|zoom|random|none
emoji: on|off
sfx: on|off
quality: enhance|upscale|off
enhance: on|off
background: off|blur|color|image
bg_color: green|white|black|purple|blue|pink
۱۸,۱۵۰ تومان / دقیقه
حداقل ۱۸,۱۵۰
ترجمه و زیرنویس فارسی ویدیو
ویدیوی انگلیسی را بدهید؛ گفتار تشخیص داده، به فارسی ترجمه و زیرنویس فارسی روی ویدیو چسبانده می‌شود (به‌علاوهٔ فایل SRT).
video_subtitle فایل (video, ≤ 120MB) mode: hard|soft|srt
۷,۲۶۰ تومان / دقیقه
حداقل ۷,۲۶۰
تولید تصویر (SDXL)
تصویر واقع‌گرایانه و هنری با مدل SDXL روی سرور اختصاصی لمورا.
image_sdxl — prompt
size: 1024x1024|832x1216|1216x832
count: 1|2|3|4
۵,۷۱۰ تومان / تصویر
حداقل ۵,۷۱۰
تصویرسازی انیمه
تصویرسازی به سبک انیمه و کارتون با مدل اختصاصی Illustrious.
image_anime — prompt
size: 1024x1024|832x1216|1216x832
count: 1|2|3|4
۵,۷۱۰ تومان / تصویر
حداقل ۵,۷۱۰
ویرایش تصویر (واقع‌گرایانه)
تصویر خودتان را بدهید و بنویسید چه تغییری کند (سبک، رنگ، فضا، نور)؛ با مدل SDXL روی سرور اختصاصی لمورا بازسازی می‌شود.
image_edit_sdxl فایل (image, ≤ 15MB) prompt
strength: 0.65|0.45|0.85
count: 1|2
۷,۵۸۶ تومان / تصویر
حداقل ۷,۵۸۶
تبدیل تصویر به سبک انیمه
تصویر خودتان را به سبک انیمه و کارتون درمی‌آورد (مدل Illustrious روی سرور اختصاصی لمورا).
image_edit_anime فایل (image, ≤ 15MB) prompt
strength: 0.65|0.45|0.85
count: 1|2
۷,۵۸۶ تومان / تصویر
حداقل ۷,۵۸۶
جداسازی صدای خواننده و موسیقی
آهنگ را بدهید؛ صدای خواننده، موسیقی بی‌کلام، درامز و بیس جدا تحویل داده می‌شود.
audio_stems فایل (audio, ≤ 60MB) ۷,۲۶۰ تومان / آهنگ
حداقل ۳,۶۳۰
تبدیل صوت و ویدیوی طولانی به متن
پادکست، جلسه، کلاس یا پیام صوتی (فارسی یا انگلیسی) را به متن و زیرنویس SRT تبدیل می‌کند.
speech_to_text فایل (media, ≤ 120MB) lang: fa|en|auto
۳,۶۳۰ تومان / دقیقه
حداقل ۱,۸۱۵
ساخت موسیقی
سبک و حال‌وهوای موسیقی را بنویسید (مثلاً «موسیقی حماسی برای تیزر»)؛ یک قطعهٔ استریو بی‌کلام ساخته می‌شود.
music_gen — prompt
seconds: 10|20|30
۱۰,۸۹۰ تومان / ۱۰ ثانیه
حداقل ۳,۰۲۵
روتوش، متن و افزایش کیفیت تصویر
روی عکس خودتان (مثلاً کاور یوتیوب) با فونت‌های زیبای فارسی و انگلیسی — وزیر، لاله‌زار، استعداد، ساحل یا سایبرپانک — متن بنویسید، تصویر را روتوش کنید و کیفیتش را با هوش مصنوعی Real-ESRGAN دو یا چهار برابر کنید؛ روی سرور گرافیکی لمورا.
image_design فایل (image, ≤ 15MB) title
tfont: vazir|lalezar|estedad|sahel|cyberpunk|bold
tpos: bottom|top|center
tcolor: white|yellow|black|purple|red|cyan
teffect: outline|glow|box
retouch: on|off
upscale: off|2x|4x
۱,۴۵۲ تومان / تصویر
حداقل ۱,۴۵۲
افزایش کیفیت ویدیو (سوپررزولوشن)
ویدیوی کم‌کیفیت را با هوش مصنوعی Real-ESRGAN روی سرور گرافیکی لمورا ۲ یا ۴ برابر (تا 4K) واضح‌تر و پرجزئیات‌تر می‌کند؛ صدای اصلی حفظ می‌شود.
video_upscale فایل (video, ≤ 100MB) scale: 2|4
model: real|anime|detail
۷,۲۶۰ تومان / دقیقه
حداقل ۷,۲۶۰
تبدیل متن فارسی به گفتار
متن فارسی را با صدای طبیعی گوینده به فایل صوتی تبدیل می‌کند؛ یا با یک نمونهٔ ۵ ثانیه‌ای، با صدای خود شما (شبیه‌سازی صدا).
tts_fa فایل اختیاری (audio) text
voice: amir|gyro
consent: 0|1
۳,۶۳۰ تومان / ۵۰۰ کاراکتر
حداقل ۹۶۸

همین خدمات به‌صورت ابزار هم در دسترس‌اند (در چت و ایجنت‌ها، و با POST https://lemura.ir/public/v1/tools/local_<service>). خروجی همه در «لمورا استودیو» حساب کاربری هم دیده می‌شود.

قواعد مشترک هر دو وب‌سرویس

احراز هویت

هر دو وب‌سرویس با یک کلید کار می‌کنند. کلید را در صفحهٔ «کلیدها و آمار» بسازید و در هدر هر درخواست بفرستید:

Authorization: Bearer lsk-YOUR_KEY

نحوهٔ درخواست

  • بدنهٔ درخواست‌ها JSON است با هدر Content-Type: application/json.
  • ارسال فایل با multipart/form-data (فیلد فایل؛ در ابزارها هم‌نام پارامتر و آرگومان‌های دیگر در فیلد args به‌صورت JSON).
  • پاسخ‌ها همیشه JSON با کدگذاری UTF-8 است؛ مبالغ به تومان است.
  • کارهای طولانی (ویدیو، OCR، تبدیل صوت و...) ناهمگام هستند: شناسهٔ کار برمی‌گردد و وضعیت را بعداً می‌پرسید.

متدها

متدکاربرد
GETخواندن: فهرست مدل‌ها/ابزارها، موجودی، وضعیت کار، دریافت فایل
POSTاجرا: چت، تولید تصویر/ویدیو، فراخوانی ابزار، آپلود فایل، ساخت وظیفه
DELETEحذف: فایل، ویدیو، وظیفه

موجودی کیف پول و اطلاعات حساب

موجودی و اطلاعات حساب از هر دو وب‌سرویس با پاسخ یکسان در دسترس است:

GET https://lemura.ir/wp-json/lemuraai/v1/balance
GET https://lemura.ir/public/v1/balance

GET https://lemura.ir/wp-json/lemuraai/v1/me
GET https://lemura.ir/public/v1/me
curl https://lemura.ir/public/v1/balance -H "Authorization: Bearer lsk-YOUR_KEY"

{"object": "balance", "user_id": 42, "balance": 125000, "currency": "toman", ...}

کدهای خطا

HTTPمعنی
400ورودی نامعتبر
401کلید ارسال نشده یا نامعتبر است
402موجودی کیف پول کافی نیست
403دسترسی به این مدل/ابزار مجاز نیست
404مدل، ابزار یا کار پیدا نشد
409 / 428کار هنوز آماده نیست / عملیات تغییردهنده نیاز به هدر X-Lemura-Confirm: true دارد
429سقف درخواست پلن برای این کلید (در دقیقه یا روز) پر شده؛ متن خطا سقف پلن و نشانی ارتقا را می‌گوید (هدرهای X-RateLimit-* و Retry-After)
5xxخطای موقت سرور یا سرویس بالادستی — چند ثانیه بعد دوباره تلاش کنید

صوت

حذف نویز صدا audio_denoise async v1.0.0
~315 تومان / فراخوانی

Reduce background noise in an audio file (noisereduce spectral gating); outputs WAV/MP3.

POST https://lemura.ir/public/v1/tools/audio_denoise
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
filestring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
strengthnumber 0.1–1.0
stationaryboolean Stationary noise (hum, fan)
formatstring
wav | mp3
Output
curl -X POST https://lemura.ir/public/v1/tools/audio_denoise -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"file": "f_0123456789abcdef01234567"}'
حداکثر زمان اجرا: 300s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 200.0 + وزن پردازش 15.0 × واحد پردازش × 1.21
کتاب صوتی و پادکست book_audio async v1.0.1
~3,025 تومان / فراخوانی

Turn a book or long text into Persian audio with natural Piper voices. mode=audiobook reads the text (Persian text; chapters are marked in the MP3; long books are made in ~20-minute parts via `part`; choose `chapters` like "1-3"). mode=podcast: a model writes a warm two-host conversation about the book (the book may be in any language; the podcast is Persian, about `minutes` long) and two voices perform it; the script is returned too. Voices: amir (male) and gyro (male, deeper). Optional music bed ducked under the voices. Queued; returns a job_id.

POST https://lemura.ir/public/v1/tools/book_audio
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
filestring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
textstring Text instead of a file
modestring
audiobook | podcast
audiobook or podcast
chaptersstring Sections to use, e.g. 1-3,5
partinteger Part number for long audiobooks
voicestring
amir | gyro
Audiobook voice
speednumber
minutesinteger Podcast length in minutes (3-20)
stylestring Podcast style
promptstring What the podcast should focus on
hostsarray
musicstring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
music_volumenumber
qualitystring
economy | balanced | best
Model tier for the script
titlestring File name
curl -X POST https://lemura.ir/public/v1/tools/book_audio -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{}'
حداکثر زمان اجرا: 900s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 1500.0 + وزن پردازش 2.0 × واحد پردازش × 1.21
جداسازی صدای خواننده و موسیقی (میزبانی لمورا) local_audio_stems v1.0.0
~0 تومان / فراخوانی

Split a song into vocals, instrumental, drums and bass on Lemura's own GPU server (queued).

POST https://lemura.ir/public/v1/tools/local_audio_stems
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
filestring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
curl -X POST https://lemura.ir/public/v1/tools/local_audio_stems -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"file": "f_0123456789abcdef01234567"}'
حداکثر زمان اجرا: 120s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 0.0 + وزن پردازش 0.0 × واحد پردازش × 1.21
ساخت موسیقی (میزبانی لمورا) local_music_gen v1.0.0
~0 تومان / فراخوانی

Compose an instrumental stereo music clip (10-30 s) from a description on Lemura's own GPU server (queued).

POST https://lemura.ir/public/v1/tools/local_music_gen
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
promptstring Style and mood, e.g. 'epic orchestral trailer music'
secondsinteger
10 | 20 | 30
Length: 10, 20 or 30
curl -X POST https://lemura.ir/public/v1/tools/local_music_gen -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"prompt": "..."}'
حداکثر زمان اجرا: 60s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 0.0 + وزن پردازش 0.0 × واحد پردازش × 1.21
تبدیل صوت و ویدیوی طولانی به متن (میزبانی لمورا) local_speech_to_text v1.0.0
~0 تومان / فراخوانی

Transcribe a long Persian or English recording (podcast, meeting, class) to text + SRT on Lemura's own GPU server (queued).

POST https://lemura.ir/public/v1/tools/local_speech_to_text
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
filestring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
langstring
fa | en | auto
Spoken language
curl -X POST https://lemura.ir/public/v1/tools/local_speech_to_text -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"file": "f_0123456789abcdef01234567"}'
حداکثر زمان اجرا: 120s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 0.0 + وزن پردازش 0.0 × واحد پردازش × 1.21
تبدیل متن فارسی به گفتار (میزبانی لمورا) local_tts_fa v1.1.0
~0 تومان / فراخوانی

Read Persian text aloud with a natural voice (amir or gyro), or clone the user's own voice from a short sample (voice_sample + consent="1": the user owns the voice or has permission) on Lemura's own server (queued).

POST https://lemura.ir/public/v1/tools/local_tts_fa
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
textstring Persian text (max 4000 characters)
voicestring
amir | gyro
Voice
voice_samplestring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
consentstring
0 | 1
"1" = the voice belongs to the user or they have permission
curl -X POST https://lemura.ir/public/v1/tools/local_tts_fa -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"text": "..."}'
حداکثر زمان اجرا: 60s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 0.0 + وزن پردازش 0.0 × واحد پردازش × 1.21
تبدیل گفتار به متن speech_to_text async v1.0.0
~968 تومان / فراخوانی

Transcribe audio/video files to text with faster-whisper (Persian, English and 90+ languages), optional timestamps and SRT subtitles.

POST https://lemura.ir/public/v1/tools/speech_to_text
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
filestring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
languagestring
auto | fa | en | ar | tr | de | fr
Language code or auto
timestampsboolean Include segment timestamps
srtboolean Also produce an .srt subtitle file
translateboolean Translate to English instead of transcribing
curl -X POST https://lemura.ir/public/v1/tools/speech_to_text -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"file": "f_0123456789abcdef01234567"}'
حداکثر زمان اجرا: 900s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 500.0 + وزن پردازش 15.0 × واحد پردازش × 1.21
تبدیل متن به گفتار text_to_speech v1.0.0
~194 تومان / فراخوانی

Convert text to natural speech (MP3) with neural voices (Persian: Dilara/Farid, English and many more).

POST https://lemura.ir/public/v1/tools/text_to_speech
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
textstring Text to speak (max 5000 chars)
voicestring
fa-IR-DilaraNeural | fa-IR-FaridNeural | en-US-JennyNeural | en-US-GuyNeural | en-GB-SoniaNeural | ar-SA-ZariyahNeural | tr-TR-EmelNeural | de-DE-KatjaNeural
Voice
ratestring Speed like +10% or -20%
pitchstring Pitch like +5Hz
curl -X POST https://lemura.ir/public/v1/tools/text_to_speech -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"text": "..."}'
حداکثر زمان اجرا: 90s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 150.0 + وزن پردازش 10.0 × واحد پردازش × 1.21

کد

مفسر کد پایتون code_interpreter v1.0.0
~140 تومان / فراخوانی

Run Python 3.11 code in an isolated sandbox (no network) for calculations, data analysis and file conversion. pandas, numpy, matplotlib, plotly, openpyxl, python-docx, Pillow are available. Input files are in ./in, save outputs to ./out.

POST https://lemura.ir/public/v1/tools/code_interpreter
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
codestring Python code
filesarray فایل
curl -X POST https://lemura.ir/public/v1/tools/code_interpreter -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"code": "..."}'
حداکثر زمان اجرا: 60s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 100.0 + وزن پردازش 15.0 × واحد پردازش × 1.21

تولید اسناد

ترجمهٔ کتاب book_translate async v1.0.1
~2,566 تومان / فراخوانی

Translate a whole book (PDF with text, DOCX, EPUB, TXT, Markdown — up to ~1.5 million characters) into Persian or another language: the structure (chapters, headings, paragraphs, lists) is extracted, a glossary keeps names and terms consistent across the book, the text is translated faithfully in parallel and returned as a formatted PDF (RTL, Vazirmatn, table of contents), DOCX and Markdown plus the glossary. quality = gpu (ECONOMY: Lemura's own translation model, slower, 30% cheaper than the advanced model) | economy | balanced | best (ADVANCED cloud models, faster); long books continue automatically in several runs. Scanned PDFs need ocr_image first. Queued; returns a job_id.

POST https://lemura.ir/public/v1/tools/book_translate
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
filestring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
target_langstring
fa | en | ar | tr | de | fr | es | ru | zh | ja | ko | it | ur | hi
Target language
stylestring
fluent | faithful | simple
Translation style
qualitystring
gpu | economy | balanced | best
gpu = economy (slower, 30% cheaper); economy / balanced / best = advanced cloud tiers
glossarystring Your own fixed translations, one per line: term = ترجمه
formatsarray
authorstring Author name for the title page
modelstring Specific chat model id (optional)
curl -X POST https://lemura.ir/public/v1/tools/book_translate -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"file": "f_0123456789abcdef01234567"}'
حداکثر زمان اجرا: 900s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 2000.0 + وزن پردازش 2.0 × واحد پردازش × 1.21
تولید سند Word docx_generate v1.0.0
~327 تومان / فراخوانی

Create a Word (.docx) document from content blocks (headings, paragraphs, lists, tables, images), or fill a .docx template (docxtpl) with a context.

POST https://lemura.ir/public/v1/tools/docx_generate
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
titlestring Document title
rtlboolean Right-to-left (Persian)
blocksarray
templatestring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
contextobject Template variables for docxtpl
filenamestring Output file name
curl -X POST https://lemura.ir/public/v1/tools/docx_generate -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{}'
حداکثر زمان اجرا: 60s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 250.0 + وزن پردازش 20.0 × واحد پردازش × 1.21
تولید PDF pdf_generate v1.0.0
~327 تومان / فراخوانی

Render HTML or Markdown into a high-quality PDF (WeasyPrint) with full Persian/RTL support and the Vazirmatn font.

POST https://lemura.ir/public/v1/tools/pdf_generate
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
htmlstring HTML body
markdownstring Markdown text (used if html is empty)
titlestring Document title
rtlboolean Right-to-left
page_sizestring
A4 | A5 | Letter | A3
Page size
landscapeboolean Landscape orientation
cssstring Extra CSS
filenamestring Output file name
curl -X POST https://lemura.ir/public/v1/tools/pdf_generate -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{}'
حداکثر زمان اجرا: 90s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 250.0 + وزن پردازش 20.0 × واحد پردازش × 1.21
ابزارهای PDF pdf_tools v1.0.0
~200 تومان / فراخوانی

Manipulate PDFs: merge, split, extract pages, rotate, add text watermark, convert pages to images, images to PDF, compress, read metadata.

POST https://lemura.ir/public/v1/tools/pdf_tools
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
actionstring
merge | split | extract_pages | rotate | watermark | to_images | images_to_pdf | compress | metadata
Operation
filesarray فایل
pagesstring Page ranges like 1-3,5
angleinteger
90 | 180 | 270
Rotation angle
textstring Watermark text
dpiinteger Image DPI
curl -X POST https://lemura.ir/public/v1/tools/pdf_tools -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"action": "merge", "files": ["f_0123456789abcdef01234567"]}'
حداکثر زمان اجرا: 120s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 150.0 + وزن پردازش 15.0 × واحد پردازش × 1.21
تولید پاورپوینت pptx_generate v1.0.0
~388 تومان / فراخوانی

Create a PowerPoint (.pptx) presentation from structured slides. Supports Persian/RTL text, themes, notes and images.

POST https://lemura.ir/public/v1/tools/pptx_generate
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
titlestring Presentation title
subtitlestring Subtitle
themestring
purple | dark | light | blue | green
Theme
rtlboolean Right-to-left (Persian) layout
slidesarray
filenamestring Output file name
curl -X POST https://lemura.ir/public/v1/tools/pptx_generate -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"slides": [{"title": "..."}], "title": "..."}'
حداکثر زمان اجرا: 60s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 300.0 + وزن پردازش 20.0 × واحد پردازش × 1.21
ساخت QR کد qrcode_generate v1.0.0
~43 تومان / فراخوانی

Generate a QR code image (PNG or SVG) for a URL, text, Wi-Fi config or contact card, with custom colors and optional center logo.

POST https://lemura.ir/public/v1/tools/qrcode_generate
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
datastring Content to encode
sizeinteger Box size in px
fill_colorstring Foreground color
back_colorstring Background color
formatstring
png | svg
Output format
logostring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
curl -X POST https://lemura.ir/public/v1/tools/qrcode_generate -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"data": "..."}'
حداکثر زمان اجرا: 20s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 30.0 + وزن پردازش 5.0 × واحد پردازش × 1.21
تولید اکسل xlsx_generate v1.0.0
~267 تومان / فراخوانی

Create an Excel (.xlsx) workbook with one or more sheets, formulas, styled headers, auto-filter and optional native charts.

POST https://lemura.ir/public/v1/tools/xlsx_generate
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
sheetsarray
rtlboolean Right-to-left sheets
filenamestring Output file name
curl -X POST https://lemura.ir/public/v1/tools/xlsx_generate -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"sheets": [{"name": "...", "rows": ["..."]}]}'
حداکثر زمان اجرا: 60s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 200.0 + وزن پردازش 20.0 × واحد پردازش × 1.21

مالی

بازار رمزارز crypto_market v1.0.0
~79 تومان / فراخوانی

Live crypto market data from major exchanges (ccxt): ticker, OHLCV candles, order book, markets; optional technical indicators and candlestick chart.

POST https://lemura.ir/public/v1/tools/crypto_market
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
actionstring
ticker | ohlcv | orderbook | markets
Data
symbolstring Pair like BTC/USDT
exchangestring
binance | kucoin | okx | bybit | kraken | coinbase | bitfinex | gateio | mexc
Exchange
timeframestring
1m | 5m | 15m | 1h | 4h | 1d | 1w
Candle timeframe
limitinteger Candles
indicatorsarray
chartboolean Return a candlestick chart image
curl -X POST https://lemura.ir/public/v1/tools/crypto_market -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"action": "ticker"}'
حداکثر زمان اجرا: 60s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 60.0 + وزن پردازش 5.0 × واحد پردازش × 1.21
بازار سهام و تحلیل تکنیکال stock_market v1.0.0
~79 تومان / فراخوانی

Stock/ETF/index/forex data from Yahoo Finance (yfinance): price history, company info and technical indicators (pandas-ta) with an optional chart.

POST https://lemura.ir/public/v1/tools/stock_market
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
symbolstring Ticker like AAPL, ^GSPC, EURUSD=X, GC=F
actionstring
history | info | indicators
Data
periodstring
5d | 1mo | 3mo | 6mo | 1y | 2y | 5y | max
Range
intervalstring
1h | 1d | 1wk | 1mo
Interval
indicatorsarray
chartboolean Return a chart image
curl -X POST https://lemura.ir/public/v1/tools/stock_market -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"symbol": "..."}'
حداکثر زمان اجرا: 60s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 60.0 + وزن پردازش 5.0 × واحد پردازش × 1.21

تصویر

ویرایش تصویر image_edit v1.0.0
~83 تومان / فراخوانی

Edit images with a pipeline of operations: resize, crop, rotate, flip, grayscale, blur, sharpen, brightness, contrast, text watermark, format conversion, compression, thumbnail.

POST https://lemura.ir/public/v1/tools/image_edit
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
filestring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
opsarray
formatstring
png | jpeg | webp
Output format
qualityinteger JPEG/WebP quality
curl -X POST https://lemura.ir/public/v1/tools/image_edit -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"file": "f_0123456789abcdef01234567"}'
حداکثر زمان اجرا: 60s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 60.0 + وزن پردازش 8.0 × واحد پردازش × 1.21
تصویرسازی انیمه (میزبانی لمورا) local_image_anime v1.0.0
~0 تومان / فراخوانی

Anime / cartoon style illustration on Lemura's own GPU server (queued; results arrive in Lemura Studio).

POST https://lemura.ir/public/v1/tools/local_image_anime
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
promptstring Image description (Persian or English)
sizestring
1024x1024 | 832x1216 | 1216x832
Frame
countinteger Number of images 1-4
curl -X POST https://lemura.ir/public/v1/tools/local_image_anime -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"prompt": "..."}'
حداکثر زمان اجرا: 60s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 0.0 + وزن پردازش 0.0 × واحد پردازش × 1.21
روتوش، متن و افزایش کیفیت تصویر (میزبانی لمورا) local_image_design v1.0.0
~0 تومان / فراخوانی

On Lemura's own GPU server: write a title on the user's own picture in a beautiful Persian / English font (vazir, lalezar, estedad, sahel, cyberpunk, bold) with outline / glow / box, retouch it and upscale it 2x / 4x with Real-ESRGAN. Use it when generate_image is unavailable, or when the user wants exactly this (their photo + their exact text). Queued; the result arrives in Lemura Studio and the gallery.

POST https://lemura.ir/public/v1/tools/local_image_design
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
filestring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
textstring Exact text to write on the picture (any language; empty = none)
fontstring
vazir | lalezar | estedad | sahel | cyberpunk | bold
Font
positionstring
bottom | top | center
Where the text goes
colorstring
white | yellow | black | purple | red | cyan
Text colour
effectstring
outline | glow | box
Text style
retouchboolean Clean up and enhance the photo
upscalestring
off | 2x | 4x
AI upscaling
curl -X POST https://lemura.ir/public/v1/tools/local_image_design -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"file": "f_0123456789abcdef01234567"}'
حداکثر زمان اجرا: 60s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 0.0 + وزن پردازش 0.0 × واحد پردازش × 1.21
ویرایش تصویر (میزبانی لمورا) local_image_edit v1.0.0
~0 تومان / فراخوانی

Edit or restyle the user's own picture on Lemura's GPU server (image-to-image): describe the change (style, colors, mood, lighting, setting); style=realistic (SDXL) or anime (Illustrious, e.g. turn a photo into an anime illustration); change = light / medium / strong (how far it may move from the original). Queued; results arrive in Lemura Studio.

POST https://lemura.ir/public/v1/tools/local_image_edit
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
filestring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
promptstring What should change / the target look
stylestring
realistic | anime
Model
changestring
light | medium | strong
How strong the change is
countinteger Number of results 1-2
curl -X POST https://lemura.ir/public/v1/tools/local_image_edit -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"file": "f_0123456789abcdef01234567", "prompt": "..."}'
حداکثر زمان اجرا: 60s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 0.0 + وزن پردازش 0.0 × واحد پردازش × 1.21
تولید تصویر SDXL (میزبانی لمورا) local_image_sdxl v1.0.0
~0 تومان / فراخوانی

Generate 1-4 images with SDXL on Lemura's own GPU server (queued; results arrive in Lemura Studio).

POST https://lemura.ir/public/v1/tools/local_image_sdxl
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
promptstring Image description (Persian or English)
sizestring
1024x1024 | 832x1216 | 1216x832
Frame
countinteger Number of images 1-4
curl -X POST https://lemura.ir/public/v1/tools/local_image_sdxl -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"prompt": "..."}'
حداکثر زمان اجرا: 60s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 0.0 + وزن پردازش 0.0 × واحد پردازش × 1.21
حذف پس‌زمینه تصویر remove_background async v1.0.0
~400 تومان / فراخوانی

Remove the background of a photo (rembg / U²-Net); optionally replace it with a solid color.

POST https://lemura.ir/public/v1/tools/remove_background
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
filestring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
bg_colorstring Optional background color, e.g. #ffffff
alpha_mattingboolean Finer edges
curl -X POST https://lemura.ir/public/v1/tools/remove_background -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"file": "f_0123456789abcdef01234567"}'
حداکثر زمان اجرا: 180s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 250.0 + وزن پردازش 20.0 × واحد پردازش × 1.21

پردازش زبان

تحلیل متن (spaCy + fastText) nlp_analyze v1.0.0
~55 تومان / فراخوانی

Detect language (fastText, 176 languages) and extract named entities, sentences and noun phrases (spaCy).

POST https://lemura.ir/public/v1/tools/nlp_analyze
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
textstring Text
opsarray
curl -X POST https://lemura.ir/public/v1/tools/nlp_analyze -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"text": "..."}'
حداکثر زمان اجرا: 60s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 40.0 + وزن پردازش 5.0 × واحد پردازش × 1.21
پردازش زبان فارسی (Hazm) persian_nlp v1.0.0
~55 تومان / فراخوانی

Persian text processing with hazm: normalization (spacing, characters, half-space), sentence/word tokenization, stemming, lemmatization.

POST https://lemura.ir/public/v1/tools/persian_nlp
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
textstring Persian text
opsarray
curl -X POST https://lemura.ir/public/v1/tools/persian_nlp -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"text": "..."}'
حداکثر زمان اجرا: 60s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 40.0 + وزن پردازش 5.0 × واحد پردازش × 1.21
خلاصه‌سازی و تحلیل احساس text_summarize v1.0.0
~92 تومان / فراخوانی

Extractive summarization (sumy: LSA/LexRank/TextRank/Luhn) and multilingual sentiment analysis (transformers).

POST https://lemura.ir/public/v1/tools/text_summarize
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
textstring Text
filestring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
taskstring
summarize | sentiment | both
Task
sentencesinteger Summary sentences
methodstring
lsa | lexrank | textrank | luhn
Algorithm
languagestring
persian | english | auto
Language
curl -X POST https://lemura.ir/public/v1/tools/text_summarize -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{}'
حداکثر زمان اجرا: 120s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 60.0 + وزن پردازش 8.0 × واحد پردازش × 1.21

پردازش فایل

فشرده‌سازی و استخراج آرشیو archive_tools v1.0.0
~109 تومان / فراخوانی

List, extract or create ZIP / 7z archives (optionally password-protected).

POST https://lemura.ir/public/v1/tools/archive_tools
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
actionstring
list | extract | create
Operation
filestring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
filesarray فایل
formatstring
zip | 7z
Archive format for create
passwordstring Archive password
namestring Output archive name
curl -X POST https://lemura.ir/public/v1/tools/archive_tools -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"action": "list"}'
حداکثر زمان اجرا: 120s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 80.0 + وزن پردازش 10.0 × واحد پردازش × 1.21
استخراج محتوای اصلی صفحه وب html_extract v1.0.0
~79 تومان / فراخوانی

Fetch a public web page (or take raw HTML/file) and extract its main readable content as text/markdown with metadata (trafilatura).

POST https://lemura.ir/public/v1/tools/html_extract
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
urlstring Public https URL
htmlstring Raw HTML instead of URL
filestring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
outputstring
text | markdown | json
Output format
include_linksboolean Keep links
curl -X POST https://lemura.ir/public/v1/tools/html_extract -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{}'
حداکثر زمان اجرا: 40s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 60.0 + وزن پردازش 5.0 × واحد پردازش × 1.21
تشخیص متن از تصویر (OCR) ocr_image async v1.0.0
~666 تومان / فراخوانی

Extract text from images or scanned PDFs with EasyOCR (Persian + English by default).

POST https://lemura.ir/public/v1/tools/ocr_image
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
filestring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
languagesarray
detailboolean Return boxes and confidence
max_pagesinteger Max PDF pages
curl -X POST https://lemura.ir/public/v1/tools/ocr_image -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"file": "f_0123456789abcdef01234567"}'
حداکثر زمان اجرا: 600s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 400.0 + وزن پردازش 25.0 × واحد پردازش × 1.21
استخراج متن و جدول PDF pdf_extract async v1.0.0
~218 تومان / فراخوانی

Extract text and tables from a digital PDF (pdfplumber), page by page.

POST https://lemura.ir/public/v1/tools/pdf_extract
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
filestring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
pagesstring Page ranges like 1-3,5
tablesboolean Also extract tables
max_charsinteger Max characters returned
curl -X POST https://lemura.ir/public/v1/tools/pdf_extract -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"file": "f_0123456789abcdef01234567"}'
حداکثر زمان اجرا: 300s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 150.0 + وزن پردازش 15.0 × واحد پردازش × 1.21

پایگاه دانش (RAG)

ساخت پایگاه دانش (RAG) knowledge_index async v1.0.0
~303 تومان / فراخوانی

Index files, web pages or text into the user's private knowledge base (langchain splitter + chromadb) so it can be searched in chat.

POST https://lemura.ir/public/v1/tools/knowledge_index
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
collectionstring Knowledge base name
filesarray فایل
urlsarray
textstring Raw text to index
replaceboolean Replace the collection first
curl -X POST https://lemura.ir/public/v1/tools/knowledge_index -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"collection": "..."}'
حداکثر زمان اجرا: 900s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 200.0 + وزن پردازش 10.0 × واحد پردازش × 1.21

شبکه‌های اجتماعی

آمار کانال یوتیوب youtube_analytics v1.0.0
~61 تومان / فراخوانی

Channel analytics from the YouTube Analytics API: views, watch time, average view duration, subscribers gained/lost, likes, comments, shares — by day, by video (top videos) or by country.

POST https://lemura.ir/public/v1/tools/youtube_analytics
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
daysinteger Last N days (1-365, default 28)
bystring
day | video | country
Breakdown
limitinteger Top N videos
channelstring Channel id / handle (optional)
curl -X POST https://lemura.ir/public/v1/tools/youtube_analytics -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{}'
حداکثر زمان اجرا: 40s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 50.0 + وزن پردازش 0.0 × واحد پردازش × 1.21
کامنت‌های یوتیوب youtube_comments v1.0.0
~0 تومان / فراخوانی

Read the latest comments of the channel or of one video; or reply to a comment thread (reply_to + text).

POST https://lemura.ir/public/v1/tools/youtube_comments
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
video_idstring Only this video (optional)
limitinteger How many (max 100)
reply_tostring Comment thread id to reply to
textstring Reply text
channelstring Channel id / handle (optional)
curl -X POST https://lemura.ir/public/v1/tools/youtube_comments -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{}'
حداکثر زمان اجرا: 40s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 0.0 + وزن پردازش 0.0 × واحد پردازش × 1.21
پلی‌لیست‌های یوتیوب youtube_playlists v1.0.0
~0 تومان / فراخوانی

List the channel's playlists, or create one (create_title, description, privacy).

POST https://lemura.ir/public/v1/tools/youtube_playlists
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
create_titlestring Create a playlist with this title (optional)
descriptionstring Playlist description
privacystring
private | unlisted | public
Privacy
channelstring Channel id / handle (optional)
curl -X POST https://lemura.ir/public/v1/tools/youtube_playlists -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{}'
حداکثر زمان اجرا: 40s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 0.0 + وزن پردازش 0.0 × واحد پردازش × 1.21
آپلود ویدیو در یوتیوب youtube_upload async v1.0.0
~242 تومان / فراخوانی

Upload a video file (e.g. one made with motion_generate / motion_video_edit) to the user's YouTube channel through the official API: title, description, tags, privacy (private/unlisted/public), optional scheduled publish time (RFC 3339, e.g. 2026-12-01T18:30:00+03:30), thumbnail image and playlist. Write a good SEO title/description in the channel's language.

POST https://lemura.ir/public/v1/tools/youtube_upload
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
filestring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
titlestring Video title (max 100 chars)
descriptionstring Description
tagsarray
privacystring
private | unlisted | public
Privacy
publish_atstring Scheduled publish time, RFC 3339 (optional)
categorystring YouTube category id (22 People&Blogs, 27 Education, 24 Entertainment, 28 Science&Tech)
thumbnailstring Thumbnail image file id (optional)
playlist_idstring Add to this playlist (optional)
made_for_kidsboolean Made for kids
languagestring Language code, e.g. fa
channelstring Channel id / handle when the user has several
curl -X POST https://lemura.ir/public/v1/tools/youtube_upload -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"file": "f_0123456789abcdef01234567", "title": "..."}'
حداکثر زمان اجرا: 900s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 200.0 + وزن پردازش 0.0 × واحد پردازش × 1.21
ویدیوهای کانال یوتیوب youtube_videos v1.0.0
~0 تومان / فراخوانی

Recent videos of the user's channel with views, likes, comments, length and privacy.

POST https://lemura.ir/public/v1/tools/youtube_videos
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
limitinteger How many (max 50)
channelstring Channel id / handle (optional)
curl -X POST https://lemura.ir/public/v1/tools/youtube_videos -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{}'
حداکثر زمان اجرا: 40s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 0.0 + وزن پردازش 0.0 × واحد پردازش × 1.21

ویدیو و انیمیشن

انیمیشن سفارشی با HTML animation_html async v2.0.0
~1,936 تومان / فراخوانی

Render a fully custom motion graphic written as ONE self-contained HTML page (HTML + CSS + JS) to MP4/WebM/GIF. The page is recorded frame by frame on a virtual clock at the exact frame size: CSS @keyframes/transitions, Web Animations, requestAnimationFrame, timers, SVG and canvas all work; for canvas/WebGL define window.lemuraSeek = (t) => draw(t) (t in seconds). Offline libraries load from their usual CDN URLs: GSAP 3.13 (cdn.jsdelivr.net/npm/gsap@3.13.0/dist/gsap.min.js), anime.js 3, three.js r149, d3 7, Chart.js 4, lottie-web 5. Fonts: Vazirmatn (Persian) and Noto Sans are installed; no other network. Input images: put their file ids (f_xxx) directly in src="…". Size the page as html,body{width/height of the frame;overflow:hidden}. Max 45 s at 1080p, 90 s at 720p, 120 s at 480p. Queued like animation_render; returns a job_id.

POST https://lemura.ir/public/v1/tools/animation_html
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
htmlstring Complete HTML document of the animation
duration_secnumber
aspectstring
16:9 | 9:16 | 1:1 | 4:5
Aspect ratio
qualitystring
480p | 720p | 1080p
Resolution (short side)
fpsinteger
24 | 25 | 30
Frames per second
formatstring
mp4 | webm | gif
Output format
filesarray Images/videos used by the page (reference their ids in the HTML) فایل
musicstring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
music_volumenumber
titlestring File name
curl -X POST https://lemura.ir/public/v1/tools/animation_html -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"html": "..."}'
حداکثر زمان اجرا: 900s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 600.0 + وزن پردازش 4.0 × واحد پردازش × 1.21
ساخت انیمیشن و موشن‌گرافیک animation_render async v2.0.0
~2,904 تومان / فراخوانی

Render an animated video (MP4/WebM/GIF) from scenes: title, text (word-by-word), bullets, image (Ken Burns), quote, stat (animated counter), chart (animated bars), steps, split (image+text), cta — with transitions (fade/slide/wipe/flip), theme, logo, background music and watermark. Persian RTL with the Vazirmatn font by default. Aspect 16:9, 9:16 (stories/reels), 1:1 or 4:5. Max 20 scenes; total length max 45 s at 1080p, 90 s at 720p (default), 120 s at 480p. For a free-form, designed video from a description prefer motion_generate. Rendering is queued (one render at a time) and returns a job_id; the user is notified.

POST https://lemura.ir/public/v1/tools/animation_render
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
titlestring Video title (also the file name)
scenesarray
aspectstring
16:9 | 9:16 | 1:1 | 4:5
Aspect ratio
qualitystring
480p | 720p | 1080p
Resolution (short side)
fpsinteger
24 | 25 | 30
Frames per second
formatstring
mp4 | webm | gif
Output format
themeobject
rtlboolean Right-to-left (Persian) layout
logostring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
musicstring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
music_volumenumber
watermarkstring Small corner text
curl -X POST https://lemura.ir/public/v1/tools/animation_render -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"aspect": "9:16", "scenes": [{"duration": 3, "subtitle": "\u062f\u0633\u062a\u06cc\u0627\u0631 \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc \u0641\u0627\u0631\u0633\u06cc", "title": "\u0644\u0645\u0648\u0631\u0627", "type": "title"}, {"items": ["\u06af\u0641\u062a\u06af\u0648 \u0628\u0627 \u0628\u0647\u062a\u0631\u06cc\u0646 \u0645\u062f\u0644\u200c\u0647\u0627", "\u0633\u0627\u062e\u062a \u062a\u0635\u0648\u06cc\u0631 \u0648 \u0648\u06cc\u062f\u06cc\u0648", "\u0648\u0628\u200c\u0633\u0631\u0648\u06cc\u0633 API"], "title": "\u0627\u0645\u06a9\u0627\u0646\u0627\u062a", "transition": "slide", "type": "bullets"}, {"suffix": "%", "title": "\u0631\u0636\u0627\u06cc\u062a \u06a9\u0627\u0631\u0628\u0631\u0627\u0646", "type": "stat", "value": 98}, {"button": "lemura.ir", "title": "\u0647\u0645\u06cc\u0646 \u062d\u0627\u0644\u0627 \u0634\u0631\u0648\u0639 \u06a9\u0646\u06cc\u062f", "transition": "wipe", "type": "cta"}], "title": "\u0645\u0639\u0631\u0641\u06cc \u0644\u0645\u0648\u0631\u0627"}'
حداکثر زمان اجرا: 900s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 800.0 + وزن پردازش 4.0 × واحد پردازش × 1.21
ادیتور ویدیو (میزبانی لمورا) local_video_edit v1.2.0
~0 تومان / فراخوانی

Edit an uploaded video on Lemura's GPU server: the AI transcribes and watches it second by second, then adds animated subtitles (pop / highlight / classic / box / neon, optionally translated to Persian), removes silences and fillers, zooms on key moments, adds 3D icons (never emoji), sound effects and transitions, bold 3D / glow text in professional Persian and English fonts, picture enhancement or AI upscaling, replaces the background (blur / colour / the user's image, people kept), labels what the speaker points at with a finger, and can reframe to vertical 9:16 following the speaker. Put the user's wishes in prompt (e.g. 'show a coffee when I say coffee, cut the first 10 seconds'). Queued; the result arrives in Lemura Studio.

POST https://lemura.ir/public/v1/tools/local_video_edit
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
filestring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
promptstring What to do, in the user's words (optional)
sub_stylestring
bold3d | glow | pop | highlight | classic | box | neon | none
Subtitle style
qualitystring
enhance | upscale | off
Picture: enhance (default), upscale (AI super-resolution) or off
sub_langstring
original | fa
original or fa (translate subtitles to Persian)
aspectstring
original | 9:16 | 1:1 | 16:9
Output frame
silencestring
light | strong | off
Remove silences
zoomstring
auto | dynamic | off
Zooms
emojistring
on | off
Emojis
sfxstring
on | off
Sound effects
transitionstring
fade | slide | zoom | random | none
Transitions
backgroundstring
off | blur | color | image
Replace the background behind the people: blur (unrecognisable), color, image (bg_file) or off
bg_colorstring
green | white | black | purple | blue | pink
Background colour when background=color
bg_filestring Image file id for background=image
curl -X POST https://lemura.ir/public/v1/tools/local_video_edit -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"file": "f_0123456789abcdef01234567"}'
حداکثر زمان اجرا: 120s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 0.0 + وزن پردازش 0.0 × واحد پردازش × 1.21
ترجمه و زیرنویس فارسی ویدیو (میزبانی لمورا) local_video_subtitle v1.0.0
~0 تومان / فراخوانی

Translate an English video and add Persian subtitles (burned in, separate MKV track, or SRT only). Queued on Lemura's own GPU server; the result arrives in the user's Lemura Studio with a notification and SMS. Returns a job id at once.

POST https://lemura.ir/public/v1/tools/local_video_subtitle
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
filestring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
modestring
hard | soft | srt
hard = subtitles on the video, soft = separate track (MKV), srt = subtitle files only
curl -X POST https://lemura.ir/public/v1/tools/local_video_subtitle -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"file": "f_0123456789abcdef01234567"}'
حداکثر زمان اجرا: 120s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 0.0 + وزن پردازش 0.0 × واحد پردازش × 1.21
افزایش کیفیت ویدیو (میزبانی لمورا) local_video_upscale v1.0.0
~0 تومان / فراخوانی

Upscale a low-resolution video 2x or 4x (up to 4K) with Real-ESRGAN on Lemura's own GPU server, keeping the audio (queued; the result arrives in Lemura Studio with a notification and SMS). model: real = real-world footage, anime = anime/cartoon/animation, detail = maximum detail for short clips (max 2 minutes).

POST https://lemura.ir/public/v1/tools/local_video_upscale
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
filestring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
scaleinteger
2 | 4
Upscale factor 2 or 4
modelstring
real | anime | detail
real (default), anime or detail
curl -X POST https://lemura.ir/public/v1/tools/local_video_upscale -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"file": "f_0123456789abcdef01234567"}'
حداکثر زمان اجرا: 120s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 0.0 + وزن پردازش 0.0 × واحد پردازش × 1.21
موشن‌گرافیک با هوش مصنوعی motion_generate async v1.0.0
~3,267 تومان / فراخوانی

Create a professional motion-graphics video from a description: a designer model writes the animation (HTML/CSS/GSAP), Lemura renders preview frames, the model reviews them visually and fixes problems, then the final video is rendered (MP4/WebM/GIF) with a poster and the editable HTML source. Persian RTL typography by default. Optional user images (file ids), background music, and base_html (the .html file id of an earlier result) to revise a previous video. Use for intros, ads, explainers, reels/stories, data stories and kinetic typography. Queued; returns a job_id; the user is notified.

POST https://lemura.ir/public/v1/tools/motion_generate
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
promptstring What the video should show and say (story, text, style, colors, mood)
secondsnumber Length in seconds (default 15)
aspectstring
16:9 | 9:16 | 1:1 | 4:5
Aspect ratio (9:16 for stories/reels)
qualitystring
480p | 720p | 1080p
Resolution (short side)
formatstring
mp4 | webm | gif
Output format
fpsinteger
24 | 25 | 30
Frames per second
filesarray Images/logos to use in the video فایل
musicstring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
music_volumenumber
base_htmlstring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
titlestring File name
curl -X POST https://lemura.ir/public/v1/tools/motion_generate -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"prompt": "..."}'
حداکثر زمان اجرا: 900s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 1500.0 + وزن پردازش 4.0 × واحد پردازش × 1.21
استوری‌بورد شات‌به‌شات ویدیو motion_storyboard v1.0.0
~0 تومان / فراخوانی

Plan a video shot by shot before making it: from a brief, returns a storyboard (3-10 shots with seconds, what is seen, on-screen text, voice-over line, transition) and a visual theme (palette, font, style). theme_from = an earlier motion job id (job_…) or template (tpl:<id>) to continue with exactly the same look. Show the shots to the user, apply their edits, then call motion_storyboard_render.

POST https://lemura.ir/public/v1/tools/motion_storyboard
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
briefstring What the video is about, audience, goal, key messages
secondsnumber
aspectstring
16:9 | 9:16 | 1:1 | 4:5
Aspect ratio
qualitystring
480p | 720p | 1080p
Resolution
voicestring
none | amir | gyro
Persian voice-over: amir / gyro, or none
languagestring Language of texts / voice
kindstring promo, explainer, tutorial, reel, product launch …
filesarray فایل
theme_fromstring job_… / tpl:<id> / .html file id to continue the same visual theme
curl -X POST https://lemura.ir/public/v1/tools/motion_storyboard -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"brief": "..."}'
حداکثر زمان اجرا: 150s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 0.0 + وزن پردازش 0.0 × واحد پردازش × 1.21
ساخت ویدیو از استوری‌بورد motion_storyboard_render async v1.0.0
~3,267 تومان / فراخوانی

Make the video of a storyboard (storyboard_id from motion_storyboard; optional edited shots / aspect / voice / theme): the voice-over is recorded per shot first so every shot starts exactly with its line, then the motion designer animates all shots in the theme and the video is rendered with the narration (and optional quiet background music).

POST https://lemura.ir/public/v1/tools/motion_storyboard_render
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
storyboard_idinteger Storyboard id
shotsarray Edited shots (optional)
aspectstring
16:9 | 9:16 | 1:1 | 4:5
Aspect ratio
voicestring
none | amir | gyro
Voice-over
musicstring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
music_volumenumber
speednumber
titlestring File name
curl -X POST https://lemura.ir/public/v1/tools/motion_storyboard_render -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"storyboard_id": 1}'
حداکثر زمان اجرا: 900s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 1500.0 + وزن پردازش 4.0 × واحد پردازش × 1.21
ویدیو با سبک آماده motion_styled async v1.0.0
~9,075 تومان / فراخوانی

Make a video in a ready-made style from a full brief: style = neon_editorial (dark starry, neon lime/magenta glowing line art, elegant titles, data-viz), game_ui (colorful cartoon game interface: slanted navy panels, yellow tags, ribbons, rarity cards, progress bars, stars), card_arena (glossy cartoon card-battle arena: blue vs red, wooden/stone gold frames, cards, energy bar), minimal_bold (clean light, black type, one accent, big Lalezar titles) or free (the look is taken from the brief and kept the same in every part). The brief is planned into parts of `segment` seconds (5 or 10); each part is designed in the same style with the user's images and Persian text (Vazirmatn + Lalezar), checked and rendered, and the parts are joined into one MP4 (+ optional music). aspect 16:9 or 9:16; seconds 10-60 (45 at 1080p). Queued; returns a job_id; the user is notified.

POST https://lemura.ir/public/v1/tools/motion_styled
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
promptstring The full brief: story, messages, texts, audience, mood (style details too for style=free)
stylestring
neon_editorial | game_ui | card_arena | minimal_bold | free
Ready-made style
aspectstring
16:9 | 9:16
Frame: 16:9 horizontal or 9:16 vertical
secondsnumber Total length in seconds (default 30)
segmentinteger
5 | 10
Length of each part in seconds
qualitystring
720p | 1080p
Resolution
filesarray Images/logos to use in the video فایل
musicstring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
music_volumenumber
titlestring File name
curl -X POST https://lemura.ir/public/v1/tools/motion_styled -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"prompt": "..."}'
حداکثر زمان اجرا: 900s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 1500.0 + وزن پردازش 4.0 × واحد پردازش × 1.21
ذخیرهٔ ویدیو به‌عنوان قالب motion_template_save v1.0.0
~0 تومان / فراخوانی

Save one of the user's finished motion videos (job id of motion_generate / animation_html) as a reusable template; public=true also lists it in the public gallery for other users.

POST https://lemura.ir/public/v1/tools/motion_template_save
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
job_idstring job_… of the finished video
titlestring Template name
descriptionstring Short description
publicboolean Share in the public gallery
curl -X POST https://lemura.ir/public/v1/tools/motion_template_save -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"job_id": "..."}'
حداکثر زمان اجرا: 120s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 0.0 + وزن پردازش 0.0 × واحد پردازش × 1.21
ساخت ویدیو از قالب آماده motion_template_use async v1.0.0
~0 تومان / فراخوانی

Render a motion-graphics video from a template: give values for its fields (texts, colors, image file ids) and/or free text describing the user's subject (Lemura fills the fields). 30% cheaper than generating; same look as the template.

POST https://lemura.ir/public/v1/tools/motion_template_use
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
template_idinteger Template id
valuesobject {field key: value}
textstring Free text with the user's information to fill the fields
qualitystring
480p | 720p | 1080p
Resolution
formatstring
mp4 | webm | gif
Output format
musicstring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
titlestring File name
curl -X POST https://lemura.ir/public/v1/tools/motion_template_use -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"template_id": 1}'
حداکثر زمان اجرا: 900s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 0.0 + وزن پردازش 0.0 × واحد پردازش × 1.21
قالب‌های آمادهٔ موشن‌گرافیک motion_templates v1.0.0
~0 تومان / فراخوانی

List ready-made motion-graphics templates (the user's own and the public gallery) with their editable fields, aspect, length and price. A video from a template costs 30% less than generating it and needs no design step.

POST https://lemura.ir/public/v1/tools/motion_templates
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
scopestring
all | mine | public
Which templates
querystring Search text
aspectstring
16:9 | 9:16 | 1:1 | 4:5
Aspect
limitinteger Max results
curl -X POST https://lemura.ir/public/v1/tools/motion_templates -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{}'
حداکثر زمان اجرا: 20s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 0.0 + وزن پردازش 0.0 × واحد پردازش × 1.21
ادیت حرفه‌ای ویدیو با هوش مصنوعی motion_video_edit async v1.0.0
~4,961 تومان / فراخوانی

Edit a talking-head / tutorial / product video like a pro editor: the speech is transcribed with word timestamps, a vision model watches snapshots and picks the key moments (mode=highlights, target_seconds) or keeps the whole video (mode=enhance), crops to the chosen frame (aspect 9:16 for reels/stories) around the subject, and a designer model adds motion graphics timed to the speech — hook title, lower-thirds, callout boxes and arrows pointing at what is on screen, animated numbers, keyword pops, chapter cards, CTA — plus word-by-word captions (Persian RTL, Vazirmatn) and optional ducked background music and logo. It checks composited preview frames and fixes the graphics, then renders MP4 + poster + SRT + the editable graphics layer. Input up to 15 min; output up to 4 min at 720p / 2 min at 1080p. Queued; returns a job_id.

POST https://lemura.ir/public/v1/tools/motion_video_edit
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
filestring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
promptstring What the edit should achieve, style, things to highlight or remove
modestring
enhance | highlights
enhance = keep the whole video and add captions/graphics; highlights = cut to the best moments
target_secondsnumber Highlights length (default 45)
aspectstring
keep | 16:9 | 9:16 | 1:1 | 4:5
Output frame (keep = like the source)
qualitystring
720p | 1080p
Resolution
captionsboolean Word-by-word captions
caption_stylestring
karaoke | clean | bold
Caption look
caption_positionstring
bottom | middle | top
Caption position
languagestring Speech language (auto, fa, en, ar, …)
musicstring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
music_volumenumber
logostring File id: f_xxx (uploaded/generated file) or att_N (chat attachment) فایل
ctastring Call to action at the end
accentstring Accent color (CSS)
titlestring File name
curl -X POST https://lemura.ir/public/v1/tools/motion_video_edit -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"file": "f_0123456789abcdef01234567"}'
حداکثر زمان اجرا: 900s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 2500.0 + وزن پردازش 4.0 × واحد پردازش × 1.21

مصورسازی و داده

ساخت نمودار chart_generate v1.0.0
~83 تومان / فراخوانی

Create a chart (bar, line, pie, scatter, area, histogram, heatmap, funnel) as PNG/SVG image or interactive HTML with Persian font support.

POST https://lemura.ir/public/v1/tools/chart_generate
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
typestring
bar | line | pie | scatter | area | histogram | heatmap | funnel
Chart type
titlestring Title
dataobject
x_titlestring X axis title
y_titlestring Y axis title
formatstring
png | svg | html
Output
widthinteger px
heightinteger px
themestring
dark | light
Theme
curl -X POST https://lemura.ir/public/v1/tools/chart_generate -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"data": {"series": [{"values": ["..."]}]}, "type": "bar"}'
حداکثر زمان اجرا: 60s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 60.0 + وزن پردازش 8.0 × واحد پردازش × 1.21
تولید دادهٔ آزمایشی fake_data v1.0.0
~43 تومان / فراخوانی

Generate realistic fake datasets (Persian or English locales) for testing: people, contacts, addresses, companies, dates, numbers, text.

POST https://lemura.ir/public/v1/tools/fake_data
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
localestring
fa_IR | en_US | de_DE | ar_SA | tr_TR
Locale
rowsinteger Row count
fieldsarray faker providers: name, email, phone_number, address, company, job, date, city, text, iban, credit_card_number, uuid4, random_int, ...
formatstring
json | csv | xlsx
Output
curl -X POST https://lemura.ir/public/v1/tools/fake_data -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"fields": ["..."]}'
حداکثر زمان اجرا: 60s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 30.0 + وزن پردازش 5.0 × واحد پردازش × 1.21

وب

مرورگر هدلس browser_render async v1.0.0
~315 تومان / فراخوانی

Open a public web page in a real headless Chromium (JavaScript-heavy sites) and return its rendered text, HTML, a screenshot or a PDF.

POST https://lemura.ir/public/v1/tools/browser_render
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
urlstring Public https URL
actionstring
text | html | screenshot | pdf
What to return
full_pageboolean Full-page screenshot
wait_msinteger Extra wait after load
selectorstring Optional CSS selector to wait for / extract
widthinteger Viewport width
curl -X POST https://lemura.ir/public/v1/tools/browser_render -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"url": "..."}'
حداکثر زمان اجرا: 90s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 200.0 + وزن پردازش 15.0 × واحد پردازش × 1.21
استخراج داده از وب (Scraper) web_scrape v1.0.0
~67 تومان / فراخوانی

Fetch a public web page over a safe proxy and extract text, links, tables, metadata or CSS-selector fields (httpx + BeautifulSoup).

POST https://lemura.ir/public/v1/tools/web_scrape
پارامترها، نمونه و محدودیت‌ها
پارامترنوعالزامیتوضیح
urlstring Public https URL
extractstring
text | links | tables | meta | all
What to extract
selectorsobject name -> CSS selector
max_charsinteger Max characters
curl -X POST https://lemura.ir/public/v1/tools/web_scrape -H "Authorization: Bearer lsk-YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"url": "..."}'
حداکثر زمان اجرا: 40s · حداکثر حجم فایل ورودی: 25MB · تعرفه: پایه 50.0 + وزن پردازش 5.0 × واحد پردازش × 1.21

API مدیریت وظایف و اعلان

GET  https://lemura.ir/public/v1/tasks                     # list
POST https://lemura.ir/public/v1/tasks                     # {"name","tool_id","payload","trigger":{"type":"cron","expr":"0 8 * * *"},"post_action":{"channels":["email"]}}
POST https://lemura.ir/public/v1/tasks/<id>/approve         # confirm the exact payload + schedule
POST https://lemura.ir/public/v1/tasks/<id>/run | pause | activate
DELETE https://lemura.ir/public/v1/tasks/<id>
POST https://lemura.ir/public/v1/notifications             # {"title","body","channels":["inapp","push","email","sms"]}