runapi-kling 0.3.2__tar.gz → 0.3.4__tar.gz

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.
@@ -1,18 +1,18 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: runapi-kling
3
- Version: 0.3.2
3
+ Version: 0.3.4
4
4
  Summary: RunAPI Kling SDK for text-to-video, image-to-video, source-video editing, avatar, and motion-control workflows in JavaScript, Python, Ruby, Go, Java, and PHP
5
5
  Project-URL: Homepage, https://runapi.ai/models/kling
6
6
  Project-URL: Documentation, https://runapi.ai/docs/resources/sdks
7
7
  Project-URL: Source, https://github.com/runapi-ai/kling-sdk
8
8
  Project-URL: Issues, https://github.com/runapi-ai/kling-sdk/issues
9
9
  Project-URL: Changelog, https://github.com/runapi-ai/kling-sdk/blob/main/CHANGELOG.md
10
- Project-URL: Release Notes, https://github.com/runapi-ai/kling-sdk/releases/tag/python%2Fv0.3.2
10
+ Project-URL: Release Notes, https://github.com/runapi-ai/kling-sdk/releases/tag/python%2Fv0.3.4
11
11
  Author-email: RunAPI <contact@runapi.ai>
12
12
  License-Expression: Apache-2.0
13
13
  Keywords: api,golang,gradle,java,kling,kling-ai-api,maven,python,ruby,runapi,runapi-ai,sdk,text-to-video,typescript,video-api,video-generation
14
14
  Requires-Python: >=3.9
15
- Requires-Dist: runapi-core>=0.8.1
15
+ Requires-Dist: runapi-core>=0.8.2
16
16
  Description-Content-Type: text/markdown
17
17
 
18
18
  # Kling API Python SDK for RunAPI
@@ -4,14 +4,14 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "runapi-kling"
7
- version = "0.3.2"
7
+ version = "0.3.4"
8
8
  description = "RunAPI Kling SDK for text-to-video, image-to-video, source-video editing, avatar, and motion-control workflows in JavaScript, Python, Ruby, Go, Java, and PHP"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
11
11
  license = "Apache-2.0"
12
12
  authors = [{ name = "RunAPI", email = "contact@runapi.ai" }]
13
13
  keywords = ["runapi", "runapi-ai", "kling", "api", "sdk", "typescript", "python", "ruby", "golang", "java", "maven", "gradle", "video-generation", "text-to-video", "video-api", "kling-ai-api"]
14
- dependencies = ["runapi-core>=0.8.1"]
14
+ dependencies = ["runapi-core>=0.8.2"]
15
15
 
16
16
  [project.urls]
17
17
  Homepage = "https://runapi.ai/models/kling"
@@ -19,7 +19,7 @@ Documentation = "https://runapi.ai/docs/resources/sdks"
19
19
  Source = "https://github.com/runapi-ai/kling-sdk"
20
20
  Issues = "https://github.com/runapi-ai/kling-sdk/issues"
21
21
  Changelog = "https://github.com/runapi-ai/kling-sdk/blob/main/CHANGELOG.md"
22
- "Release Notes" = "https://github.com/runapi-ai/kling-sdk/releases/tag/python%2Fv0.3.2"
22
+ "Release Notes" = "https://github.com/runapi-ai/kling-sdk/releases/tag/python%2Fv0.3.4"
23
23
 
24
24
  [tool.hatch.build.targets.wheel]
25
25
  packages = ["src/runapi"]
File without changes
@@ -115,17 +115,6 @@ CONTRACT = {
115
115
  }
116
116
  },
117
117
  "rules": [{
118
- "when": {
119
- "model": "kling-v3-omni-edit",
120
- "source_task_id": {
121
- "present": False
122
- },
123
- "source_video_url": {
124
- "present": False
125
- }
126
- },
127
- "required_any": ["source_video_url", "source_task_id"]
128
- }, {
129
118
  "when": {
130
119
  "model": "kling-v3-omni-edit",
131
120
  "source_video_url": {
@@ -199,6 +188,32 @@ CONTRACT = {
199
188
  }
200
189
  },
201
190
  "required": ["aspect_ratio"]
191
+ }, {
192
+ "when": {
193
+ "model": "kling-v3-omni-edit",
194
+ "source_task_id": {
195
+ "present": False
196
+ },
197
+ "source_video_url": {
198
+ "present": False
199
+ }
200
+ },
201
+ "required_any": ["source_video_url", "source_task_id"]
202
+ }, {
203
+ "enum": {
204
+ "aspect_ratio": ["16:9", "9:16", "1:1"],
205
+ "enable_sound": [False]
206
+ },
207
+ "when": {
208
+ "model": "kling-v3-omni-reference",
209
+ "source_task_id": {
210
+ "present": True
211
+ },
212
+ "reference_image_urls": {
213
+ "present": True
214
+ }
215
+ },
216
+ "required": ["aspect_ratio"]
202
217
  }, {
203
218
  "when": {
204
219
  "model": "kling-v3-omni-reference",
@@ -273,21 +288,6 @@ CONTRACT = {
273
288
  }
274
289
  },
275
290
  "required": ["aspect_ratio"]
276
- }, {
277
- "enum": {
278
- "aspect_ratio": ["16:9", "9:16", "1:1"],
279
- "enable_sound": [False]
280
- },
281
- "when": {
282
- "model": "kling-v3-omni-reference",
283
- "source_task_id": {
284
- "present": True
285
- },
286
- "reference_image_urls": {
287
- "present": True
288
- }
289
- },
290
- "required": ["aspect_ratio"]
291
291
  }]
292
292
  },
293
293
  "extend-video": {