videomanipulator

package
v0.0.0-...-7a865d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenerateImageForUrlParams

type GenerateImageForUrlParams struct {
	VideoUrl string  `json:"video_url"`
	Seconds  float64 `json:"seconds"`
}

type GenerateImageForUrlResult

type GenerateImageForUrlResult struct {
	Reader      io.ReadCloser
	ContentType string
}

type VideoManipulatorService

type VideoManipulatorService struct {
	// contains filtered or unexported fields
}

func NewVideoManipulatorService

func NewVideoManipulatorService(baseUrl, apiKey string) *VideoManipulatorService

NewVideoManipulatorService creates a new VideoManipulatorService

func (*VideoManipulatorService) GenerateImageForUrl

GenerateImageForUrl generates an image from a video URL

IMPORTANT: the caller is responsible for closing the returned io.ReadCloser

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL