def create(self, room_sid, video_layout=values.unset,<EOL>audio_sources=values.unset, audio_sources_excluded=values.unset,<EOL>resolution=values.unset, format=values.unset,<EOL>status_callback=values.unset, status_callback_method=values.unset,<EOL>trim=values.unset):
data = values.of({<EOL>'<STR_LIT>': room_sid,<EOL>'<STR_LIT>': serialize.object(video_layout),<EOL>'<STR_LIT>': serialize.map(audio_sources, lambda e: e),<EOL>'<STR_LIT>': serialize.map(audio_sources_excluded, lambda e: e),<EOL>'<STR_LIT>': resolution,<EOL>'<STR_LIT>': format,<EOL>'<STR_LIT>': status_callback,<EOL>'<STR_LIT>': status_callback_method,<EOL>'<STR_LIT>': trim,<EOL>})<EOL>payload = self._version.create(<EOL>'<STR_LIT:POST>',<EOL>self._uri,<EOL>data=data,<EOL>)<EOL>return CompositionInstance(self._version, payload, )<EOL>
Create a new CompositionInstance

:param unicode room_sid: Twilio Room SID.
:param dict video_layout: The JSON video layout description.
:param unicode audio_sources: A list of audio sources related to this Composition.
:param unicode audio_sources_excluded: A list of audio sources excluded related to this Composition.
:param unicode resolution: Pixel resolution of the composed video.
:param CompositionInstance.Format format: Container format of the Composition media file. Any of the following: `mp4`, `webm`.
:param unicode status_callback: A URL that Twilio sends asynchronous webhook requests to on every composition event.
:param unicode status_callback_method: HTTP method Twilio should use when requesting the above URL.
:param bool trim: Boolean flag for clipping intervals that have no media.

:returns: Newly created CompositionInstance
:rtype: twilio.rest.video.v1.composition.CompositionInstance