@neta-art/generation 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/README.md +97 -14
  2. package/dist/{builtins-BJ2_TVlr.d.ts → builtins-C-_aGhT8.d.ts} +2 -2
  3. package/dist/builtins-C-_aGhT8.d.ts.map +1 -0
  4. package/dist/builtins-NAtI9FFU.js +1186 -0
  5. package/dist/builtins-NAtI9FFU.js.map +1 -0
  6. package/dist/builtins.d.ts +1 -1
  7. package/dist/builtins.js +1 -1
  8. package/dist/cli/index.js +2 -2
  9. package/dist/{export-config-D8By2_r7.js → export-config-DS2XD-tF.js} +443 -44
  10. package/dist/export-config-DS2XD-tF.js.map +1 -0
  11. package/dist/index.d.ts +8 -2
  12. package/dist/index.d.ts.map +1 -1
  13. package/dist/index.js +3 -3
  14. package/models/birefnet-general.yaml +25 -0
  15. package/models/kling-image-to-video.yaml +89 -0
  16. package/models/kling-multi-image-to-video.yaml +93 -0
  17. package/models/kling-omni-video.yaml +107 -0
  18. package/models/kling-text-to-video.yaml +79 -0
  19. package/models/noobxl-i2i-ipa-onediff.yaml +72 -0
  20. package/models/noobxl-t2i-onediff.yaml +44 -0
  21. package/models/qwen-image-edit.yaml +44 -0
  22. package/models/suno_cover_chirp_v5.yaml +159 -0
  23. package/models/suno_image_to_song_chirp_v5.yaml +152 -0
  24. package/models/suno_infill_chirp_v5.yaml +148 -0
  25. package/models/suno_music_chirp_fenix.yaml +77 -0
  26. package/models/suno_sound_chirp_v5.yaml +145 -0
  27. package/models/suno_style_tags.yaml +14 -0
  28. package/models/suno_upload_audio.yaml +44 -0
  29. package/models/suno_video_to_song_chirp_v5.yaml +152 -0
  30. package/models/suno_vox_chirp_v5.yaml +149 -0
  31. package/models/z-image-turbo.yaml +34 -0
  32. package/package.json +19 -15
  33. package/dist/builtins-BJ2_TVlr.d.ts.map +0 -1
  34. package/dist/builtins-FumzmWvj.js +0 -565
  35. package/dist/builtins-FumzmWvj.js.map +0 -1
  36. package/dist/export-config-D8By2_r7.js.map +0 -1
  37. package/models/suno_music.yaml +0 -265
@@ -0,0 +1,107 @@
1
+ schema: neta.generation.model.v1
2
+ model: kling-omni-video
3
+ title: Kling Omni Video
4
+ description: Kling latest Omni-Video generation through Neta Router.
5
+ adapter:
6
+ type: kling.videoGenerations
7
+ content:
8
+ input:
9
+ - type: text
10
+ required: false
11
+ max: 16
12
+ merge: newline
13
+ description: Optional video prompt. Use Kling Omni placeholders such as <<<image_1>>> with image_list.
14
+ - type: image
15
+ required: false
16
+ max: 2
17
+ sources:
18
+ - url
19
+ - base64
20
+ description: Optional simple image input. Provider-native Omni media arrays belong in request meta.
21
+ parameters:
22
+ duration:
23
+ type: integer
24
+ optional: true
25
+ default: 5
26
+ min: 5
27
+ max: 15
28
+ description: Video duration in seconds.
29
+ aspect_ratio:
30
+ type: string
31
+ optional: true
32
+ default: 16:9
33
+ enum:
34
+ - 16:9
35
+ - 9:16
36
+ - 1:1
37
+ description: Output aspect ratio.
38
+ mode:
39
+ type: string
40
+ optional: true
41
+ default: std
42
+ enum:
43
+ - std
44
+ - pro
45
+ description: Kling generation mode.
46
+ cfg_scale:
47
+ type: number
48
+ optional: true
49
+ default: 0.5
50
+ min: 0
51
+ max: 1
52
+ description: Prompt adherence scale.
53
+ poll_interval:
54
+ type: integer
55
+ optional: true
56
+ default: 5
57
+ min: 1
58
+ max: 30
59
+ description: Seconds between task status checks.
60
+ max_wait:
61
+ type: integer
62
+ optional: true
63
+ default: 900
64
+ min: 30
65
+ max: 1800
66
+ description: Maximum seconds to wait for task completion.
67
+ sound:
68
+ type: string
69
+ optional: true
70
+ enum:
71
+ - on
72
+ - off
73
+ description: Enable or disable generated sound when supported.
74
+ meta:
75
+ fields:
76
+ multi_shot:
77
+ type: boolean
78
+ optional: true
79
+ description: Enable Kling Omni multi-shot mode.
80
+ shot_type:
81
+ type: string
82
+ optional: true
83
+ description: Kling Omni shot type.
84
+ examples:
85
+ - title: Omni text to video
86
+ request:
87
+ model: kling-omni-video
88
+ content:
89
+ - type: text
90
+ text: a small paper boat floating on calm water, cinematic motion
91
+ parameters:
92
+ duration: 5
93
+ aspect_ratio: 16:9
94
+ mode: std
95
+ - title: Omni image to video
96
+ request:
97
+ model: kling-omni-video
98
+ content:
99
+ - type: text
100
+ text: <<<image_1>>> gently turns toward the camera with soft natural motion
101
+ parameters:
102
+ duration: 5
103
+ aspect_ratio: 16:9
104
+ meta:
105
+ image_list:
106
+ - image_url: https://example.com/input.png
107
+ type: first_frame
@@ -0,0 +1,79 @@
1
+ schema: neta.generation.model.v1
2
+ model: kling-text-to-video
3
+ title: Kling Text To Video
4
+ description: Kling latest text-to-video generation through Neta Router.
5
+ adapter:
6
+ type: kling.videoGenerations
7
+ content:
8
+ input:
9
+ - type: text
10
+ required: true
11
+ min: 1
12
+ max: 16
13
+ merge: newline
14
+ description: Video prompt.
15
+ parameters:
16
+ duration:
17
+ type: integer
18
+ optional: true
19
+ default: 5
20
+ min: 5
21
+ max: 10
22
+ description: Video duration in seconds.
23
+ aspect_ratio:
24
+ type: string
25
+ optional: true
26
+ default: 16:9
27
+ enum:
28
+ - 16:9
29
+ - 9:16
30
+ - 1:1
31
+ description: Output aspect ratio.
32
+ mode:
33
+ type: string
34
+ optional: true
35
+ default: std
36
+ enum:
37
+ - std
38
+ - pro
39
+ description: Kling generation mode.
40
+ cfg_scale:
41
+ type: number
42
+ optional: true
43
+ default: 0.5
44
+ min: 0
45
+ max: 1
46
+ description: Prompt adherence scale.
47
+ poll_interval:
48
+ type: integer
49
+ optional: true
50
+ default: 5
51
+ min: 1
52
+ max: 30
53
+ description: Seconds between task status checks.
54
+ max_wait:
55
+ type: integer
56
+ optional: true
57
+ default: 900
58
+ min: 30
59
+ max: 1800
60
+ description: Maximum seconds to wait for task completion.
61
+ negative_prompt:
62
+ type: string
63
+ optional: true
64
+ description: Negative prompt.
65
+ seed:
66
+ type: integer
67
+ optional: true
68
+ description: Random seed for reproducibility.
69
+ examples:
70
+ - title: Text to video
71
+ request:
72
+ model: kling-text-to-video
73
+ content:
74
+ - type: text
75
+ text: a small paper boat floating on calm water, cinematic motion
76
+ parameters:
77
+ duration: 5
78
+ aspect_ratio: 16:9
79
+ mode: std
@@ -0,0 +1,72 @@
1
+ schema: neta.generation.model.v1
2
+ model: noobxl-i2i-ipa-onediff
3
+ title: NoobXL I2I IPA OneDiff
4
+ description: NoobXL image-to-image model with optional face reference controls.
5
+ allowUnknownParameters: true
6
+ adapter:
7
+ type: openai.images
8
+ content:
9
+ input:
10
+ - type: text
11
+ required: true
12
+ min: 1
13
+ max: 16
14
+ merge: newline
15
+ description: Prompt text.
16
+ - type: image
17
+ required: true
18
+ min: 1
19
+ max: 1
20
+ sources:
21
+ - url
22
+ - base64
23
+ description: Single source image.
24
+ parameters:
25
+ size:
26
+ type: string
27
+ optional: true
28
+ default: 1024x1024
29
+ description: Output image size as WIDTHxHEIGHT.
30
+ examples:
31
+ - 1024x1024
32
+ - 768x1024
33
+ - 1024x768
34
+ negative_prompt:
35
+ type: string
36
+ optional: true
37
+ description: Content to avoid in generated images.
38
+ seed:
39
+ type: integer
40
+ optional: true
41
+ min: 0
42
+ description: Random seed for reproducibility.
43
+ controlnet_weight:
44
+ type: number
45
+ optional: true
46
+ min: 0
47
+ max: 2
48
+ description: ControlNet tile weight. The provider default is 0.8.
49
+ ipadapter_face_image_ref:
50
+ type: string
51
+ optional: true
52
+ description: Optional face reference image URL for IP-Adapter.
53
+ ipadapter_face_weight:
54
+ type: number
55
+ optional: true
56
+ min: 0
57
+ max: 2
58
+ description: IP-Adapter face weight. The provider default is 0.6 when a face reference is supplied.
59
+ examples:
60
+ - title: Image to image
61
+ request:
62
+ model: noobxl-i2i-ipa-onediff
63
+ content:
64
+ - type: text
65
+ text: keep the character identity, redraw as a polished anime illustration
66
+ - type: image
67
+ source:
68
+ type: url
69
+ url: https://example.com/reference.png
70
+ parameters:
71
+ size: 1024x1024
72
+ controlnet_weight: 0.8
@@ -0,0 +1,44 @@
1
+ schema: neta.generation.model.v1
2
+ model: noobxl-t2i-onediff
3
+ title: NoobXL T2I OneDiff
4
+ description: NoobXL text-to-image model.
5
+ allowUnknownParameters: true
6
+ adapter:
7
+ type: openai.images
8
+ content:
9
+ input:
10
+ - type: text
11
+ required: true
12
+ min: 1
13
+ max: 16
14
+ merge: newline
15
+ description: Prompt text.
16
+ parameters:
17
+ size:
18
+ type: string
19
+ optional: true
20
+ default: 1024x1024
21
+ description: Output image size as WIDTHxHEIGHT.
22
+ examples:
23
+ - 1024x1024
24
+ - 768x1024
25
+ - 1024x768
26
+ negative_prompt:
27
+ type: string
28
+ optional: true
29
+ description: Content to avoid in generated images.
30
+ seed:
31
+ type: integer
32
+ optional: true
33
+ min: 0
34
+ description: Random seed for reproducibility.
35
+ examples:
36
+ - title: Text to image
37
+ request:
38
+ model: noobxl-t2i-onediff
39
+ content:
40
+ - type: text
41
+ text: anime key visual, luminous city at night, crisp linework
42
+ parameters:
43
+ size: 1024x1024
44
+ negative_prompt: low quality, blurry
@@ -0,0 +1,44 @@
1
+ schema: neta.generation.model.v1
2
+ model: qwen-image-edit
3
+ title: Qwen Image Edit
4
+ description: Neta Qwen image editing with one source image URL and an edit instruction.
5
+ adapter:
6
+ type: openai.imageEdits
7
+ content:
8
+ input:
9
+ - type: text
10
+ required: true
11
+ min: 1
12
+ max: 16
13
+ merge: newline
14
+ description: Edit instruction.
15
+ - type: image
16
+ required: true
17
+ min: 1
18
+ max: 1
19
+ sources:
20
+ - url
21
+ description: Source image URL to edit.
22
+ parameters:
23
+ size:
24
+ type: string
25
+ optional: true
26
+ default: 1024x1024
27
+ description: Output image size.
28
+ examples:
29
+ - 1024x1024
30
+ - 768x1024
31
+ - 1024x768
32
+ examples:
33
+ - title: Edit image
34
+ request:
35
+ model: qwen-image-edit
36
+ content:
37
+ - type: text
38
+ text: change the background to a clean white studio backdrop
39
+ - type: image
40
+ source:
41
+ type: url
42
+ url: https://example.com/input.png
43
+ parameters:
44
+ size: 1024x1024
@@ -0,0 +1,159 @@
1
+ schema: neta.generation.model.v1
2
+ model: suno_cover_chirp_v5
3
+ title: Suno Cover Chirp v5.0
4
+ description: Suno cover task with a fixed chirp-v5 engine.
5
+ adapter:
6
+ type: suno.tasks
7
+ operation: music
8
+ task: cover
9
+ payload:
10
+ mv: chirp-v5
11
+ content:
12
+ input:
13
+ - type: text
14
+ required: false
15
+ max: 16
16
+ merge: newline
17
+ description: Prompt text. The adapter maps merged text to the operation's text field when that field is not provided.
18
+ parameters:
19
+ poll_interval:
20
+ type: integer
21
+ optional: true
22
+ default: 5
23
+ min: 1
24
+ max: 60
25
+ description: Seconds between task status checks.
26
+ max_wait:
27
+ type: integer
28
+ optional: true
29
+ default: 600
30
+ min: 30
31
+ max: 3600
32
+ description: Maximum seconds to wait for task completion.
33
+ meta:
34
+ fields:
35
+ title:
36
+ type: string
37
+ optional: true
38
+ description: Suno song title.
39
+ tags:
40
+ type: string
41
+ optional: true
42
+ description: Comma-separated Suno music style tags.
43
+ gpt_description_prompt:
44
+ type: string
45
+ optional: true
46
+ description: Suno inspiration-mode prompt.
47
+ negative_tags:
48
+ type: string
49
+ optional: true
50
+ description: Styles to avoid.
51
+ generation_type:
52
+ type: string
53
+ optional: true
54
+ description: Suno generation type.
55
+ make_instrumental:
56
+ type: boolean
57
+ optional: true
58
+ default: false
59
+ description: Generate instrumental music.
60
+ metadata:
61
+ type: object
62
+ optional: true
63
+ description: Suno provider metadata payload.
64
+ metadata_params:
65
+ type: object
66
+ optional: true
67
+ description: Suno task-specific metadata payload.
68
+ cover_clip_id:
69
+ type: string
70
+ description: Clip id to cover.
71
+ task_id:
72
+ type: string
73
+ description: Source Suno task id used for cover routing.
74
+ continue_clip_id:
75
+ type: string
76
+ description: Source clip id used for cover generation.
77
+ continue_at:
78
+ type: number
79
+ optional: true
80
+ description: Source clip continuation position in seconds.
81
+ taskVariants:
82
+ extend:
83
+ required:
84
+ - continue_clip_id
85
+ upload_extend:
86
+ required:
87
+ - continue_clip_id
88
+ infill:
89
+ required:
90
+ - continue_clip_id
91
+ - metadata_params
92
+ fixed_infill:
93
+ required:
94
+ - continue_clip_id
95
+ - metadata_params
96
+ infill_intro:
97
+ required:
98
+ - continue_clip_id
99
+ - metadata_params
100
+ infill_outro:
101
+ required:
102
+ - continue_clip_id
103
+ - metadata_params
104
+ cover_infill:
105
+ required:
106
+ - continue_clip_id
107
+ - metadata_params
108
+ cover_extend:
109
+ required:
110
+ - continue_clip_id
111
+ artist_infill:
112
+ required:
113
+ - continue_clip_id
114
+ - metadata_params
115
+ artist_consistency:
116
+ required:
117
+ - persona_id
118
+ - artist_clip_id
119
+ cover:
120
+ required:
121
+ - task_id
122
+ - continue_clip_id
123
+ image_to_song:
124
+ requiredContent:
125
+ - image
126
+ required:
127
+ - metadata_params
128
+ video_to_song:
129
+ requiredContent:
130
+ - video
131
+ required:
132
+ - metadata_params
133
+ concat:
134
+ required:
135
+ - clip_id
136
+ sound:
137
+ required:
138
+ - metadata_params
139
+ underpainting:
140
+ required:
141
+ - metadata_params
142
+ overpainting:
143
+ required:
144
+ - metadata_params
145
+ remaster:
146
+ required:
147
+ - metadata_params
148
+ vox:
149
+ required:
150
+ - artist_clip_id
151
+ chop_sample_condition:
152
+ required:
153
+ - metadata_params
154
+ mashup_condition:
155
+ required:
156
+ - metadata_params
157
+ playlist_condition:
158
+ required:
159
+ - metadata_params
@@ -0,0 +1,152 @@
1
+ schema: neta.generation.model.v1
2
+ model: suno_image_to_song_chirp_v5
3
+ title: Suno Image to Song Chirp v5.0
4
+ description: Suno image-to-song task with a fixed chirp-v5 engine.
5
+ adapter:
6
+ type: suno.tasks
7
+ operation: music
8
+ task: image_to_song
9
+ payload:
10
+ mv: chirp-v5
11
+ content:
12
+ input:
13
+ - type: text
14
+ required: false
15
+ max: 16
16
+ merge: newline
17
+ description: Prompt text. The adapter maps merged text to the operation's text field when that field is not provided.
18
+ - type: image
19
+ required: true
20
+ max: 1
21
+ sources:
22
+ - url
23
+ - base64
24
+ description: Reference image.
25
+ parameters:
26
+ poll_interval:
27
+ type: integer
28
+ optional: true
29
+ default: 5
30
+ min: 1
31
+ max: 60
32
+ description: Seconds between task status checks.
33
+ max_wait:
34
+ type: integer
35
+ optional: true
36
+ default: 600
37
+ min: 30
38
+ max: 3600
39
+ description: Maximum seconds to wait for task completion.
40
+ meta:
41
+ fields:
42
+ title:
43
+ type: string
44
+ optional: true
45
+ description: Suno song title.
46
+ tags:
47
+ type: string
48
+ optional: true
49
+ description: Comma-separated Suno music style tags.
50
+ gpt_description_prompt:
51
+ type: string
52
+ optional: true
53
+ description: Suno inspiration-mode prompt.
54
+ negative_tags:
55
+ type: string
56
+ optional: true
57
+ description: Styles to avoid.
58
+ generation_type:
59
+ type: string
60
+ optional: true
61
+ description: Suno generation type.
62
+ make_instrumental:
63
+ type: boolean
64
+ optional: true
65
+ default: false
66
+ description: Generate instrumental music.
67
+ metadata:
68
+ type: object
69
+ optional: true
70
+ description: Suno provider metadata payload.
71
+ metadata_params:
72
+ type: object
73
+ description: Image-to-song metadata payload.
74
+ taskVariants:
75
+ extend:
76
+ required:
77
+ - continue_clip_id
78
+ upload_extend:
79
+ required:
80
+ - continue_clip_id
81
+ infill:
82
+ required:
83
+ - continue_clip_id
84
+ - metadata_params
85
+ fixed_infill:
86
+ required:
87
+ - continue_clip_id
88
+ - metadata_params
89
+ infill_intro:
90
+ required:
91
+ - continue_clip_id
92
+ - metadata_params
93
+ infill_outro:
94
+ required:
95
+ - continue_clip_id
96
+ - metadata_params
97
+ cover_infill:
98
+ required:
99
+ - continue_clip_id
100
+ - metadata_params
101
+ cover_extend:
102
+ required:
103
+ - continue_clip_id
104
+ artist_infill:
105
+ required:
106
+ - continue_clip_id
107
+ - metadata_params
108
+ artist_consistency:
109
+ required:
110
+ - persona_id
111
+ - artist_clip_id
112
+ cover:
113
+ required:
114
+ - task_id
115
+ - continue_clip_id
116
+ image_to_song:
117
+ requiredContent:
118
+ - image
119
+ required:
120
+ - metadata_params
121
+ video_to_song:
122
+ requiredContent:
123
+ - video
124
+ required:
125
+ - metadata_params
126
+ concat:
127
+ required:
128
+ - clip_id
129
+ sound:
130
+ required:
131
+ - metadata_params
132
+ underpainting:
133
+ required:
134
+ - metadata_params
135
+ overpainting:
136
+ required:
137
+ - metadata_params
138
+ remaster:
139
+ required:
140
+ - metadata_params
141
+ vox:
142
+ required:
143
+ - artist_clip_id
144
+ chop_sample_condition:
145
+ required:
146
+ - metadata_params
147
+ mashup_condition:
148
+ required:
149
+ - metadata_params
150
+ playlist_condition:
151
+ required:
152
+ - metadata_params