feat: duration range changed to 4-15s with 1s intervals
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m0s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m0s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
9896c0dff0
commit
6af651ccd6
@ -87,11 +87,10 @@ const ratioItems = [
|
|||||||
{ label: '3:4', value: '3:4' as AspectRatio },
|
{ label: '3:4', value: '3:4' as AspectRatio },
|
||||||
];
|
];
|
||||||
|
|
||||||
const durationItems = [
|
const durationItems = Array.from({ length: 12 }, (_, i) => {
|
||||||
{ label: '5s', value: '5' },
|
const v = i + 4;
|
||||||
{ label: '10s', value: '10' },
|
return { label: `${v}s`, value: String(v) };
|
||||||
{ label: '15s', value: '15' },
|
});
|
||||||
];
|
|
||||||
|
|
||||||
const modeLabels: Record<CreationMode, string> = {
|
const modeLabels: Record<CreationMode, string> = {
|
||||||
universal: '全能参考',
|
universal: '全能参考',
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
export type CreationMode = 'universal' | 'keyframe';
|
export type CreationMode = 'universal' | 'keyframe';
|
||||||
export type ModelOption = 'seedance_2.0' | 'seedance_2.0_fast';
|
export type ModelOption = 'seedance_2.0' | 'seedance_2.0_fast';
|
||||||
export type AspectRatio = '16:9' | '9:16' | '1:1' | '21:9' | '4:3' | '3:4';
|
export type AspectRatio = '16:9' | '9:16' | '1:1' | '21:9' | '4:3' | '3:4';
|
||||||
export type Duration = 5 | 10 | 15;
|
export type Duration = 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15;
|
||||||
export type GenerationType = 'video' | 'image';
|
export type GenerationType = 'video' | 'image';
|
||||||
|
|
||||||
export interface UploadedFile {
|
export interface UploadedFile {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user