https://github.com/bububa/runway-go
RunwayML golang SDK
https://github.com/bububa/runway-go
Last synced: 9 months ago
JSON representation
RunwayML golang SDK
- Host: GitHub
- URL: https://github.com/bububa/runway-go
- Owner: bububa
- License: apache-2.0
- Created: 2025-07-14T05:09:29.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-07-14T05:11:06.000Z (11 months ago)
- Last Synced: 2025-07-14T13:46:22.513Z (11 months ago)
- Language: Go
- Size: 13.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RunwayML SDK implementation in Golang
[](https://pkg.go.dev/github.com/bububa/runway-go)
[](https://github.com/bububa/runway-go/actions/workflows/go.yml)
[](https://github.com/bububa/runway-go/actions/workflows/goreleaser.yml)
[](https://github.com/bububa/runway-go)
[](https://goreportcard.com/report/github.com/bububa/runway-go)
[](https://github.com/bububa/runway-go/blob/master/LICENSE)
[](https://gitHub.com/bububa/runway-go/releases/)
## Installation
```bash
go get -u github.com/bububa/runway-go
```
## Usage
```golang
import "github.com/bububa/runway-go"
func main() {
ctx := context.Background()
clt := runway.NewClient(os.Getenv("RUNWAY_KEY"))
i2vReq := runway.Image2VideoRequest[string] {
PromptImage: "http://example.com",
Seed: 4294967295,
Mode: "gen4_turbo",
PromptText: "string",
Duration: 5,
Ratio: VideoRatio_1280_720,
ContentModeration: &runway.ContentModeration {
PublicFigureThreshold: runway.Auto
},
}
taskID, err := clt.CreateTask(ctx, &i2vReq)
if err != nil {
return
}
task := runway.Task{
ID: taskID,
}
if err := clt.GetTask(ctx, &task); err != nil {
return
}
if err := clt.DeleteTask(ctx, taskID); err != nil {
return
}
var org runway.Organization
if err := clt.Organization(ctx, &org); err != nil {
return
}
}
```