Skip to content

MocA-Love/apiframe-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apiframe-Go

Go library for APIFRAME.PRO (Midjourney API)

API Documentation is available at https://docs.apiframe.pro

Install

go get github.com/MocA-Love/apiframe-go

Usage

apikey := "YOUR API KEY HERE"

client, err := apiframe.NewApiframeClient(apikey, true)
if err != nil {
    fmt.Println(err)
    return
}


task, err := client.Imagine("a nice day near a non-active volcano, photorealism, high details, high quality", "1:1", "fast", "", "")
if err != nil {
    fmt.Println(err)
    return
}

fmt.Println(task)