Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
configured_endpoints: 64
configured_endpoints: 65
10 changes: 10 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ Methods:

- <code title="post /v1/video_to_video">client.videoToVideo.<a href="./src/resources/video-to-video.ts">create</a>({ ...params }) -> VideoToVideoCreateResponse</code>

# VideoToAudio

Types:

- <code><a href="./src/resources/video-to-audio.ts">VideoToAudioCreateResponse</a></code>

Methods:

- <code title="post /v1/video_to_audio">client.videoToAudio.<a href="./src/resources/video-to-audio.ts">create</a>({ ...params }) -> VideoToAudioCreateResponse</code>

# VideoToHdr

Types:
Expand Down
2 changes: 1 addition & 1 deletion scripts/mock

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ import {
TextToSpeechCreateResponse,
} from './resources/text-to-speech';
import { TextToVideo, TextToVideoCreateParams, TextToVideoCreateResponse } from './resources/text-to-video';
import {
VideoToAudio,
VideoToAudioCreateParams,
VideoToAudioCreateResponse,
} from './resources/video-to-audio';
import { VideoToHdr, VideoToHdrCreateParams, VideoToHdrCreateResponse } from './resources/video-to-hdr';
import {
VideoToVideo,
Expand Down Expand Up @@ -939,6 +944,10 @@ export class RunwayML {
* These endpoints all kick off tasks to create generations.
*/
videoToVideo: API.VideoToVideo = new API.VideoToVideo(this);
/**
* These endpoints all kick off tasks to create generations.
*/
videoToAudio: API.VideoToAudio = new API.VideoToAudio(this);
/**
* These endpoints all kick off tasks to create generations.
*/
Expand Down Expand Up @@ -1001,6 +1010,7 @@ export class RunwayML {
RunwayML.Tasks = Tasks;
RunwayML.ImageToVideo = ImageToVideo;
RunwayML.VideoToVideo = VideoToVideo;
RunwayML.VideoToAudio = VideoToAudio;
RunwayML.VideoToHdr = VideoToHdr;
RunwayML.TextToVideo = TextToVideo;
RunwayML.TextToImage = TextToImage;
Expand Down Expand Up @@ -1046,6 +1056,12 @@ export declare namespace RunwayML {
type VideoToVideoCreateParams as VideoToVideoCreateParams,
};

export {
VideoToAudio as VideoToAudio,
type VideoToAudioCreateResponse as VideoToAudioCreateResponse,
type VideoToAudioCreateParams as VideoToAudioCreateParams,
};

export {
VideoToHdr as VideoToHdr,
type VideoToHdrCreateResponse as VideoToHdrCreateResponse,
Expand Down
2 changes: 1 addition & 1 deletion src/resources/avatar-conversations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class AvatarConversations extends APIResource {
}

/**
* Delete a conversation and its associated data.
* Permanently delete a conversation, including its transcript and recording.
*/
delete(id: string, options?: RequestOptions): APIPromise<void> {
return this._client.delete(path`/v1/avatar_conversations/${id}`, {
Expand Down
10 changes: 6 additions & 4 deletions src/resources/generate/image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,18 +91,20 @@ export namespace ImageCreateResponse {
*/
export interface ResolvedInput {
/**
* Aspect ratio used for routing display.
* Aspect ratio resolved for routing display from the request or router default.
* When `ratio` is `auto`, the source image determines output framing.
*/
aspectRatio: string;

/**
* Concrete output ratio derived from aspectRatio and resolution for the selected
* model.
* Output ratio for the selected model, as `<width>:<height>`. `auto` means the
* output keeps the source image's framing, so no pixel size was chosen.
*/
ratio: string;

/**
* Megapixel tier used for routing display.
* Megapixel tier resolved for routing display from the request or model default.
* When `ratio` is `auto`, this does not specify output pixel dimensions.
*/
resolution: string;
}
Expand Down
Loading
Loading