Lumaktaw sa nilalaman

Personaplex

I-integrate

ID ng modelo personaplex
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/personaplex?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "audio": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Mga file na katulad ng halimbawa: $0.01 10 kredito ng API sinusukat ang iyong mga file bago patakbuhin Patakbuhin ito sa page na ito

Kumuha ng API key
NVIDIA audio #audio

Speech-to-speech conversational modelo na sumasagot gamit ang persona at boses na pinili mo

NVIDIA · audio

Dito mapupunta ang iyong unang resulta

Bumuo ng kahilingan sa ibaba at patakbuhin ito gamit ang iyong API key. Kinokopya ang mga output sa aming storage, na pinananatili nang walang hanggan o 7 araw nang libre.

Bumuo ng kahilingan

Ang mga control ay binubuo mula sa schema ng modelo. Nagbabago ang code at presyo habang ina-adjust mo ang mga ito.

default na You are a wise and fr...

Text prompt na tumutukoy sa persona ng AI at konteksto ng pag-uusap.

Mag-drop ng file, o

URL ng sample para sa voice cloning; inirerekomenda ang malinaw na pagsasalitang tumatagal nang hindi bababa sa 10 segundo. Kino-clone ang sample on the fly, at pinapalitan nito ang preset na 'voice' para sa response ng AI.

•kinakailangan audio_url
Mag-drop ng file, o

URL ng audio input na naglalaman ng pagsasalita ng user.

advanced voice · temperature_audio · temperature_text · top_k_audio · top_k_text · seed · enable_safety_checker
default na NATF2

Voice ID ng response ng AI, na ino-override ng voice_audio_url kapag ibinigay. Tinutukoy ng mga code nito ang natural (NAT) laban sa variety (VAR) at female (F) laban sa male (M).

default na 0.8

Temperature na ginagamit kapag nagsa-sample ng audio; mas iba-iba ang resulta kapag tinaasan ito.

default na 0.7

Temperature na ginagamit kapag nagsa-sample ng text; mas iba-iba ang resulta kapag tinaasan ito.

default na 250

Top-K setting na ginagamit sa pag-sample ng audio tokens.

default na 25

Top-K setting na ginagamit sa pag-sample ng text tokens.

Seed na kumokontrol sa randomness para sa nauulit na resulta.

POST /run/personaplex?wait=20 presyo → $0.01
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/personaplex?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "audio": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Patakbuhin ang kahilingang ito

Nananatili ang iyong key sa browser na ito: ipinapadala lamang ito sa Doitong API at sine-save (localStorage) lamang kung pipiliin mo ang Tandaan. Kumuha ng API key

Tungkol sa Personaplex

Tumatanggap ng speech ng user sa pamamagitan ng `audio_url` at sumasagot gamit ang nabuong speech, kasama ang transcript at duration nito. Tinutukoy ng teksto na `prompt` ang persona, at pumipili ang `voice` ng preset. Bilang alternatibo, kino-clone ng `voice_audio_url` ang voice mula sa sample, kung saan inirerekomenda ang 10 o higit pang segundo ng malinaw na speech. Maaaring i-tune ang sampling sa pamamagitan ng temperature at top-k setting.

Mga parameter

Ipadala ang canonical na pangalan o ang native na pangalan, hindi pareho. Mga canonical na pangalan

PangalanUri defaultPinapayagan Paglalarawan
promptopsyonal
Uristring
defaultYou are a wise and friendly teacher. Answer questions or provide advice in a clear and engaging way.
Text prompt na tumutukoy sa persona ng AI at konteksto ng pag-uusap.
voiceopsyonal
Urienum
defaultNATF2
NATF0NATF1NATF2NATF3NATM0NATM1NATM2NATM3VARF0VARF1VARF2VARF3VARF4VARM0VARM1VARM2
+2 paVARM3VARM4
Voice ID ng response ng AI, na ino-override ng voice_audio_url kapag ibinigay. Tinutukoy ng mga code nito ang natural (NAT) laban sa variety (VAR) at female (F) laban sa male (M).
voice_audio_urlopsyonal
Uriurl · audio
URL ng sample para sa voice cloning; inirerekomenda ang malinaw na pagsasalitang tumatagal nang hindi bababa sa 10 segundo. Kino-clone ang sample on the fly, at pinapalitan nito ang preset na 'voice' para sa response ng AI.
temperature_audioopsyonal
Urinumber
default0.8
0 – 2
Temperature na ginagamit kapag nagsa-sample ng audio; mas iba-iba ang resulta kapag tinaasan ito.
temperature_textopsyonal
Urinumber
default0.7
0 – 2
Temperature na ginagamit kapag nagsa-sample ng text; mas iba-iba ang resulta kapag tinaasan ito.
top_k_audioopsyonal
Uriinteger
default250
1 – 2,048
Top-K setting na ginagamit sa pag-sample ng audio tokens.
top_k_textopsyonal
Uriinteger
default25
1 – 1,000
Top-K setting na ginagamit sa pag-sample ng text tokens.
seedopsyonal
Uriinteger | null
Seed na kumokontrol sa randomness para sa nauulit na resulta.
audio_urlkinakailangan audio
Uriurl · audio
URL ng audio input na naglalaman ng pagsasalita ng user.
enable_safety_checkeropsyonal
Uriboolean
defaulttrue
Maaaring luwagan ang screening sa pamamagitan ng pagtatakda ng false, kung awtorisado ang tumatawag.
kinakailangan Canonical na pangalan, tinatanggap din

Tumatanggap ang mga parameter ng file ng pampublikong https:// URL, data: URI na hanggang 10 MB, o file_url ng isang upload. Mga file

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "personaplex",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 10,
    "usd": "0.01",
    "charged": 10,
    "refunded": 0
  },
  "input": {
    "audio_url": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3"
  },
  "output": {
    "audio": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_name": "0-output.mp3",
      "file_size": 1843200
    },
    "text": " Thank you for calling SwiftPlex Appliances. This is Farhod, how can I help you today? I understand your concern. The replacement part is out of stock, so we can't ship it right away. We can use an alternative part that will arrive in 3 days. Would you like to proceed with that?",
    "duration": 5,
    "seed": 42
  },
  "outputs": [
    {
      "type": "audio",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_size": 1843200,
      "duration": 12,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Ikaw ang pumipili para sa iyong mga fileAng bawat outputs[].url ay kopya sa aming storage: pinananatili nang walang hanggan (sinisingil bawat GB-month) o 7 araw nang libre, ayon sa setting ng iyong account o ?storage=.
Parehong shape sa bawat modelotype, url, content_type, width, height at duration, para sa mga larawan, video at audio. Ang output ay sariling result object ng modelo.
Mga field ng output
audio
object {url, content_type, file_name, file_size}Audio response na nabuo ng AI sa WAV format na 24 kHz.
text
stringText transcription ng response mula sa AI.
duration
numberHaba ng nabuong audio, sinusukat sa segundo.
seed
integerSeed value na inilapat sa pagbuo.

Higit pang modelo: audio

Para sa mga AI agent: nasa Markdown ang pahinang ito sa https://doitong.com/fil/developers/models/personaplex.md. Lahat ng modelo at gabay: https://doitong.com/developers/llms.txt