Create a new stream

Initiates the creation of a new WebRTC connection to a browser peer. The endpoint returns the necessary information to set up and manage the connection.

Step 1
Create a new stream

To initiate a video streaming session, make a POST request to this endpoint. In the request’s body, you must provide a source_url pointing to the photo you wish to animate in the stream. This request will provide you with a unique id (referred to as stream_id in other requests) and a session ID. The stream ID serves as a unique identifier for the streaming session, while the session ID needs to be included in subsequent requests' bodies to ensure they reach the correct server instance. Learn more

Language
Authorization
:
Click Try It! to start a request and see the response here!