-
-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
8 changed files
with
486 additions
and
11 deletions.
There are no files selected for viewing
55 changes: 55 additions & 0 deletions
55
src/services/editors/workflow-editor/workflows/aitube/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
import { | ||
ClapWorkflow, | ||
ClapWorkflowEngine, | ||
ClapWorkflowCategory, | ||
ClapWorkflowProvider, | ||
} from '@aitube/clap' | ||
|
||
import { | ||
genericHeight1024, | ||
genericHeight2048, | ||
genericImage, | ||
genericPrompt, | ||
genericVideo, | ||
genericWidth1024, | ||
genericWidth2048, | ||
} from '../common/defaultValues' | ||
|
||
export const aitubeWorkflows: ClapWorkflow[] = [ | ||
/* | ||
{ | ||
id: 'aitube://api/v1/edit/storyboards', | ||
label: 'Storyboards', | ||
description: '', | ||
tags: ['OpenClap', 'image', 'storyboard'], | ||
author: 'AiTube.at', | ||
thumbnailUrl: '', | ||
engine: ClapWorkflowEngine.OPENCLAP, | ||
category: ClapWorkflowCategory.IMAGE_GENERATION, | ||
provider: ClapWorkflowProvider.AITUBE, | ||
data: 'api/v1/edit/storyboards', | ||
inputFields: [genericPrompt, genericWidth2048, genericHeight2048], | ||
inputValues: { | ||
[genericPrompt.id]: genericPrompt.defaultValue, | ||
[genericWidth2048.id]: genericWidth2048.defaultValue, | ||
[genericHeight2048.id]: genericHeight2048.defaultValue, | ||
}, | ||
}, | ||
{ | ||
id: 'aitube://api/v1/edit/music', | ||
label: 'Music', | ||
description: '', | ||
tags: ['OpenClap', 'music'], | ||
author: 'AiTube.at', | ||
thumbnailUrl: '', | ||
engine: ClapWorkflowEngine.OPENCLAP, | ||
category: ClapWorkflowCategory.MUSIC_GENERATION, | ||
provider: ClapWorkflowProvider.AITUBE, | ||
data: 'api/v1/edit/music', | ||
inputFields: [genericPrompt], | ||
inputValues: { | ||
[genericPrompt.id]: genericPrompt.defaultValue, | ||
}, | ||
}, | ||
*/ | ||
] |
115 changes: 115 additions & 0 deletions
115
src/services/editors/workflow-editor/workflows/cohere/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
import { | ||
ClapWorkflow, | ||
ClapWorkflowEngine, | ||
ClapWorkflowCategory, | ||
ClapWorkflowProvider, | ||
} from '@aitube/clap' | ||
|
||
import { | ||
genericHeight1024, | ||
genericHeight2048, | ||
genericImage, | ||
genericPrompt, | ||
genericVideo, | ||
genericWidth1024, | ||
genericWidth2048, | ||
} from '../common/defaultValues' | ||
|
||
export const cohereWorkflows: ClapWorkflow[] = [ | ||
{ | ||
id: 'cohere://command-r-plus', | ||
label: 'Command R+', | ||
description: '', | ||
tags: ['command-r'], | ||
author: 'Cohere', | ||
thumbnailUrl: '', | ||
engine: ClapWorkflowEngine.REST_API, | ||
category: ClapWorkflowCategory.ASSISTANT, | ||
provider: ClapWorkflowProvider.COHERE, | ||
data: 'command-r-plus', | ||
inputFields: [genericPrompt], | ||
inputValues: { | ||
prompt: genericPrompt.defaultValue, | ||
}, | ||
}, | ||
{ | ||
id: 'cohere://command-r', | ||
label: 'Command R', | ||
description: '', | ||
tags: ['command-r'], | ||
author: 'Cohere', | ||
thumbnailUrl: '', | ||
engine: ClapWorkflowEngine.REST_API, | ||
category: ClapWorkflowCategory.ASSISTANT, | ||
provider: ClapWorkflowProvider.COHERE, | ||
data: 'command-r', | ||
inputFields: [genericPrompt], | ||
inputValues: { | ||
prompt: genericPrompt.defaultValue, | ||
}, | ||
}, | ||
{ | ||
id: 'cohere://command', | ||
label: 'Command', | ||
description: '', | ||
tags: ['command'], | ||
author: 'Cohere', | ||
thumbnailUrl: '', | ||
engine: ClapWorkflowEngine.REST_API, | ||
category: ClapWorkflowCategory.ASSISTANT, | ||
provider: ClapWorkflowProvider.COHERE, | ||
data: 'command', | ||
inputFields: [genericPrompt], | ||
inputValues: { | ||
prompt: genericPrompt.defaultValue, | ||
}, | ||
}, | ||
{ | ||
id: 'cohere://command-light', | ||
label: 'Command Light', | ||
description: '', | ||
tags: ['command', 'light'], | ||
author: 'Cohere', | ||
thumbnailUrl: '', | ||
engine: ClapWorkflowEngine.REST_API, | ||
category: ClapWorkflowCategory.ASSISTANT, | ||
provider: ClapWorkflowProvider.COHERE, | ||
data: 'command-light', | ||
inputFields: [genericPrompt], | ||
inputValues: { | ||
prompt: genericPrompt.defaultValue, | ||
}, | ||
}, | ||
{ | ||
id: 'cohere://command-nightly', | ||
label: 'Command (nightly)', | ||
description: '', | ||
tags: ['command', 'nightly'], | ||
author: 'Cohere', | ||
thumbnailUrl: '', | ||
engine: ClapWorkflowEngine.REST_API, | ||
category: ClapWorkflowCategory.ASSISTANT, | ||
provider: ClapWorkflowProvider.COHERE, | ||
data: 'command-nightly', | ||
inputFields: [genericPrompt], | ||
inputValues: { | ||
prompt: genericPrompt.defaultValue, | ||
}, | ||
}, | ||
{ | ||
id: 'cohere://command-light-nightly', | ||
label: 'Command Light (nightly)', | ||
description: '', | ||
tags: ['command', 'light', 'nightly'], | ||
author: 'Cohere', | ||
thumbnailUrl: '', | ||
engine: ClapWorkflowEngine.REST_API, | ||
category: ClapWorkflowCategory.ASSISTANT, | ||
provider: ClapWorkflowProvider.COHERE, | ||
data: 'command-light-nightly', | ||
inputFields: [genericPrompt], | ||
inputValues: { | ||
prompt: genericPrompt.defaultValue, | ||
}, | ||
}, | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
83 changes: 83 additions & 0 deletions
83
src/services/editors/workflow-editor/workflows/groq/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
import { | ||
ClapWorkflow, | ||
ClapWorkflowEngine, | ||
ClapWorkflowCategory, | ||
ClapWorkflowProvider, | ||
} from '@aitube/clap' | ||
|
||
import { | ||
genericHeight1024, | ||
genericHeight2048, | ||
genericImage, | ||
genericPrompt, | ||
genericVideo, | ||
genericWidth1024, | ||
genericWidth2048, | ||
} from '../common/defaultValues' | ||
|
||
export const groqWorkflows: ClapWorkflow[] = [ | ||
{ | ||
id: 'groq://Mixtral-8x7b-32768', | ||
label: 'Mixtral 8x7b (32768)', | ||
description: '', | ||
tags: ['Mixtral'], | ||
author: 'Mistral AI', | ||
thumbnailUrl: '', | ||
engine: ClapWorkflowEngine.REST_API, | ||
category: ClapWorkflowCategory.ASSISTANT, | ||
provider: ClapWorkflowProvider.GROQ, | ||
data: 'Mixtral-8x7b-32768', | ||
inputFields: [genericPrompt], | ||
inputValues: { | ||
prompt: genericPrompt.defaultValue, | ||
}, | ||
}, | ||
{ | ||
id: 'groq://Gemma-7b-lt', | ||
label: 'Gemma 7b lt', | ||
description: '', | ||
tags: ['Gemma'], | ||
author: 'Google', | ||
thumbnailUrl: '', | ||
engine: ClapWorkflowEngine.REST_API, | ||
category: ClapWorkflowCategory.ASSISTANT, | ||
provider: ClapWorkflowProvider.GROQ, | ||
data: 'Gemma-7b-lt', | ||
inputFields: [genericPrompt], | ||
inputValues: { | ||
prompt: genericPrompt.defaultValue, | ||
}, | ||
}, | ||
{ | ||
id: 'groq://Llama3-70b-8192', | ||
label: 'Llama3 70b (8192)', | ||
description: '', | ||
tags: ['Llama3'], | ||
author: 'Meta', | ||
thumbnailUrl: '', | ||
engine: ClapWorkflowEngine.REST_API, | ||
category: ClapWorkflowCategory.ASSISTANT, | ||
provider: ClapWorkflowProvider.GROQ, | ||
data: 'Llama3-70b-8192', | ||
inputFields: [genericPrompt], | ||
inputValues: { | ||
prompt: genericPrompt.defaultValue, | ||
}, | ||
}, | ||
{ | ||
id: 'groq://Llama3-8b-8192', | ||
label: 'Llama3 8b (8192)', | ||
description: '', | ||
tags: ['Llama3'], | ||
author: 'Google', | ||
thumbnailUrl: '', | ||
engine: ClapWorkflowEngine.REST_API, | ||
category: ClapWorkflowCategory.ASSISTANT, | ||
provider: ClapWorkflowProvider.GROQ, | ||
data: 'Llama3-8b-8192', | ||
inputFields: [genericPrompt], | ||
inputValues: { | ||
prompt: genericPrompt.defaultValue, | ||
}, | ||
}, | ||
] |
Oops, something went wrong.