openai/src/bb8973c1-261f-4b55-8f9b-9ee...
Robot 783139129f
update 2024-04-07 13:20:18
2024-04-07 13:20:32 +02:00
..
README.md update 2023-10-10 14:52:14 2023-10-10 14:52:38 +02:00
code.php first commit 2023-05-20 23:36:58 +02:00
code.power first commit 2023-05-20 23:36:58 +02:00
settings.json update 2024-04-07 13:20:18 2024-04-07 13:20:32 +02:00

README.md

██████╗  ██████╗ ██╗    ██╗███████╗██████╗
██╔══██╗██╔═══██╗██║    ██║██╔════╝██╔══██╗
██████╔╝██║   ██║██║ █╗ ██║█████╗  ██████╔╝
██╔═══╝ ██║   ██║██║███╗██║██╔══╝  ██╔══██╗
██║     ╚██████╔╝╚███╔███╔╝███████╗██║  ██║
╚═╝      ╚═════╝  ╚══╝╚══╝ ╚══════╝╚═╝  ╚═╝

class Images (Details)

namespace: VDM\Joomla\Openai extends: Api

@startuml
class Images  #Gold {
  + generate(string $prompt, ?string $size = null, ...) : ?object
  + edit(string $image, string $prompt, ...) : ?object
  + variation(string $image, ?string $size = null, ...) : ?object
}

note right of Images::generate
  Generate an image given a text prompt.
API Ref: https://platform.openai.com/docs/api-reference/images/create

  since: 3.2.0
  return: ?object
  
  arguments:
    string $prompt
    ?string $size = null
    ?string $responseFormat = null
    ?int $n = null
    ?string $user = null
end note

note right of Images::edit
  Create an image edit with extended options.
API Ref: https://platform.openai.com/docs/api-reference/images/create-edit

  since: 3.2.0
  return: ?object
  
  arguments:
    string $image
    string $prompt
    ?string $mask = null
    ?string $size = null
    ?string $responseFormat = null
    ?int $n = null
    ?string $user = null
end note

note right of Images::variation
  Create a variation of a given image.
API Ref: https://platform.openai.com/docs/api-reference/images/create-variation

  since: 3.2.0
  return: ?object
  
  arguments:
    string $image
    ?string $size = null
    ?string $responseFormat = null
    ?int $n = null
    ?string $user = null
end note
 
@enduml

     ██╗ ██████╗██████╗
     ██║██╔════╝██╔══██╗
     ██║██║     ██████╔╝
██   ██║██║     ██╔══██╗
╚█████╔╝╚██████╗██████╔╝
 ╚════╝  ╚═════╝╚═════╝

Build with Joomla Component Builder