mirror of
https://github.com/yangjian102621/geekai.git
synced 2026-08-13 03:00:59 +00:00
feat(release): migrate GeekAI v4.3.0 to open source
- Sync backend and frontend from GeekAI Plus v4.3.0 - Remove commercial License flows and update open-source deployment defaults - Preserve Docker Compose deployment and bump image tags to v4.3.0 BREAKING CHANGE: commercial License configuration and related endpoints are removed
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"geekai/service/sora"
|
||||
)
|
||||
|
||||
func main() {
|
||||
text := ` **Analyzing input prompt** > ***- The input provides a JSON with an empty history and a prompt in Chinese: "女孩在雪山上滑雪,欢快的节奏,姿势优雅,伴随女孩的欢声笑语".*** > ID: task_01k8pye324ef7t6heq6jyaxbfe >[数据预览](https://asyncdata.net/web/task_01k8pye324ef7t6heq6jyaxbfe) | [原始数据](https://asyncdata.net/source/task_01k8pye324ef7t6heq6jyaxbfe) > 排队中... > 生成中. >🏃 进度 36..47..57..61..69..76..79..81..`
|
||||
|
||||
soraService := sora.NewSoraService(nil)
|
||||
url, err := soraService.DownloadVideoURL(text)
|
||||
if err != nil {
|
||||
fmt.Printf("extract video URL failed: %v", err)
|
||||
return
|
||||
}
|
||||
fmt.Println(url)
|
||||
}
|
||||
Reference in New Issue
Block a user