@apicity/kie 0.1.0-alpha.0 → 0.2.0-alpha.0
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.
- package/README.md +1 -1
- package/dist/src/zod.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/src/zod.js
CHANGED
|
@@ -308,7 +308,7 @@ export const Seedance2FastRequestSchema = Seedance2FastRequestObjectSchema.refin
|
|
|
308
308
|
message: "bytedance/seedance-2-fast does not accept reference_image_urls, reference_video_urls, or reference_audio_urls combined with first_frame_url or last_frame_url (these scenarios are mutually exclusive)",
|
|
309
309
|
path: ["input", "reference_image_urls"],
|
|
310
310
|
});
|
|
311
|
-
// Inner input schema kept unrefined so callers (e.g.
|
|
311
|
+
// Inner input schema kept unrefined so callers (e.g. videocity) can walk
|
|
312
312
|
// `.shape` for slot-constraint introspection — wrapping the request in
|
|
313
313
|
// `.refine()` below turns it into ZodEffects and hides `.shape`.
|
|
314
314
|
export const Seedance2InputSchema = z.object({
|
|
@@ -515,7 +515,7 @@ export const HappyHorseVideoEditRequestSchema = z.object({
|
|
|
515
515
|
});
|
|
516
516
|
// Refines live on the outer request object (not the `input` sub-object) so
|
|
517
517
|
// that `input.*` fields remain introspectable by downstream tools that walk
|
|
518
|
-
// ZodArray/ZodObject defs (e.g.
|
|
518
|
+
// ZodArray/ZodObject defs (e.g. videocity's readSlotConstraints).
|
|
519
519
|
export const Wan27ImageToVideoRequestSchema = z
|
|
520
520
|
.object({
|
|
521
521
|
model: z.literal("wan/2-7-image-to-video"),
|
|
@@ -565,7 +565,7 @@ export const Wan27TextToVideoRequestSchema = z.object({
|
|
|
565
565
|
// Per-field max(5) on reference_image/reference_video; the combined-≤5 cap is
|
|
566
566
|
// enforced by callers (would require a wrapper-level refine, which would
|
|
567
567
|
// turn this into ZodEffects and break `.shape` introspection used by
|
|
568
|
-
//
|
|
568
|
+
// videocity's slot-constraint readers).
|
|
569
569
|
export const Wan27RefToVideoRequestSchema = z.object({
|
|
570
570
|
model: z.literal("wan/2-7-r2v"),
|
|
571
571
|
callBackUrl: z.string().optional(),
|