Skip to content

Commit

Permalink
Add Image Edit. (Refs #32)
Browse files Browse the repository at this point in the history
Add test6.
There is a problem with test6.
  • Loading branch information
gha3mi committed Sep 19, 2023
1 parent 98e739c commit b6ab602
Show file tree
Hide file tree
Showing 5 changed files with 518 additions and 0 deletions.
8 changes: 8 additions & 0 deletions foropenai.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,13 @@
"size": "1024x1024",
"n": 1,
"response_format": "url"
},

"ImageEdit": {
"user_name": "Ali",
"url": "https://api.openai.com/v1/images/edits",
"size": "1024x1024",
"n": 1,
"response_format": "url"
}
}
5 changes: 5 additions & 0 deletions fpm.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,8 @@ main = "test4.f90"
name = "test5"
source-dir = "test"
main = "test5.f90"

[[test]]
name = "test6"
source-dir = "test"
main = "test6.f90"
1 change: 1 addition & 0 deletions src/foropenai.f90
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ module foropenai
use foropenai_Transcription
use foropenai_Translation
use foropenai_ImageGeneration
use foropenai_ImageEdit
end module foropenai
Loading

0 comments on commit b6ab602

Please sign in to comment.