-
Notifications
You must be signed in to change notification settings - Fork 0
Added Deep AI (handles forms properly) #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| #For more details see https://platform.openai.com/docs/api-reference/images/create | ||
|
|
||
| image: | ||
| steps: | ||
| - name: "generate_image" | ||
| method: "POST" | ||
| url: "https://api.openai.com/v1/images/generations" | ||
| headers: | ||
| Authorization: "Bearer &IMAGE_API_KEY" | ||
| Content-Type: "application/json" | ||
| body: | ||
| intent_detection_step: true | ||
| response_key: "data" | ||
| response_placeholders: | ||
| response_path: "data.url" | ||
| response_format: "url" | ||
| file_id_path: "created" | ||
| file_extention: "png" | ||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,39 @@ | ||||||||||||||||||
| #Paramaters for OpenAI's Image Generation API | ||||||||||||||||||
| #The APIConfig struct assumes that each required and optional paramater has a description | ||||||||||||||||||
|
Comment on lines
+1
to
+2
|
||||||||||||||||||
| #Paramaters for OpenAI's Image Generation API | |
| #The APIConfig struct assumes that each required and optional paramater has a description | |
| #Parameters for OpenAI's Image Generation API | |
| #The APIConfig struct assumes that each required and optional parameter has a description |
Copilot
AI
Mar 26, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo in the comment; 'paramater' should be corrected to 'parameter'.
| #Paramaters for OpenAI's Image Generation API | |
| #The APIConfig struct assumes that each required and optional paramater has a description | |
| #Parameters for OpenAI's Image Generation API | |
| #The APIConfig struct assumes that each required and optional parameter has a description |
Copilot
AI
Mar 26, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The '1024x1024' size option is duplicated. Removing the duplicate will prevent potential confusion and ensure correct configuration.
| options: ["256x256", "512x512", "1024x1024", "1024x1024", "1792x1024", "1024x1792"] | |
| options: ["256x256", "512x512", "1024x1024", "1792x1024", "1024x1792"] |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,18 @@ | ||||||
| #For more details see https://platform.openai.com/docs/api-reference/images/create | ||||||
|
|
||||||
| image: | ||||||
| steps: | ||||||
| - name: "generate_image" | ||||||
| method: "POST" | ||||||
| url: "https://api.deepai.org/api/text2img" | ||||||
| headers: | ||||||
| api-key: "&IMAGE_API_KEY" | ||||||
| Content-Type: "application/json" | ||||||
| body: | ||||||
| intent_detection_step: true | ||||||
| response_key: "data" | ||||||
| response_placeholders: | ||||||
| response_path: "output_url" | ||||||
| response_format: "url" | ||||||
| file_id_path: "id" | ||||||
| file_extention: "jpg" | ||||||
|
||||||
| file_extention: "jpg" | |
| file_extension: "jpg" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| endpoint: "https://api.deepai.org/api/text2img" | ||
| method: "POST" | ||
| headers: | ||
| api-key: "&IMAGE_API_KEY" | ||
| requiredParameters: | ||
| text: | ||
| description: "A text description of the desired image(s)." | ||
| options: [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo in the key 'file_extention'; consider renaming it to 'file_extension' to improve clarity and consistency.