Discussions

Ask a Question
ANSWERED

set up

how to set up both realtime agent streaming with chat gpt and or animates still pics with api using flask

ANSWERED

URGENT! Missing or invalid session ID

I get missing or invalid session ID, and I've gone through the same question asked over 7 times on this same platform

ANSWERED

API Google Oauth

  1. Is there a way to authenticate to the talks api using google oauth if so, whats the code snippet for it (python)
  2. If there isnt, does the free version authenticate the api ?
    Because this isnt letting me in with the my free username and password.
    import requests
    url = "
    https://api.d-id.com/talks"
    payload = {
    "source_url": "https://d-id-public-bucket.s3.us-west-2.amazonaws.com/alice.jpg",
    "script": {
    "type": "text",
    "subtitles": "false",
    "provider": {
    "type": "microsoft",
    "voice_id": "Sara"
    },
    "input": "Making videos is easy with D-ID"
    },
    "config": {
    "fluent": "false",
    "pad_audio": "0.0"
    }
    }
    headers = {
    "accept": "application/json",
    "content-type": "application/json",
    "authorization": "Basic bXN0MTk3NEBzYmNnbG9iYWwubmV0OlNhbHpidXJnMTYwIQ=="
    }
    response = requests.post(url, json=payload, headers=headers)
    print(response.text)
ANSWERED

Retreiving knowledge base from SQL DB

Is it possible for an agent to retreive knowledge for RAG from external sources such as a SQL database?

ANSWERED

Error ‘IP address rejected by STUN server’ when running Talks Streams.

Talks Streamsを実行するとSTUN サーバーで IP アドレスを拒否されました。

ANSWERED

Eleven Labs and Talks API

I have saved voice ID using eleven labs API. And when trying to hit talks API request from my code it throws this error
Client error: POST https://api.d-id.com/talks resulted in a 400 Bad Request response:\n{"kind":"TextToSpeechProviderError","description":"Failed to generate 11labs tts: A voice for the voice_id 3Vd2nkuqshKMQ (truncated...)\n",

ANSWERED

Talks API Integration

Hey, i'm trying to integrate D-ID Talks API in my system. I'm coding in Laravel PHP. This is my sample code so far, and my source_url looks something like this
http://my-site/storage/user/avatar-image/user_id/picture.jpg

ANSWERED

Integracion

Tengo un modelo entrenado en Openai, al que le envio consultas y me responde en base al entrenamiento.

ANSWERED

AI generated anime-style characters triggering copyright block?

Hello. I've been using D-iD to animate some anime characters I generated on Leonardo. I have consistent trouble with one of them (a generic-looking young man) triggering the copyright block. Since most anime characters have extremely similar faces, I'm having a lot of trouble getting around this problem. Is there anything I can do to help D-iD recognize that these images are NOT famous characters (short of drastic changes like hair color, etc.)? Unfortunately, upgrading my account and requesting a review isn't financially possible at the moment.

ANSWERED

I am consntantly receiving the message "missing or invalid session_id"

I am trying to start the WebRTC connection and putting the parameter "sessoin_id" received from the creation of the stream as one of the inputs. But I always recieve the same error that is "missing or invalid session_id". I just copied and pasted from the response.