--- title: FileCreateInput - GraphQL Admin description: The input fields that are required to create a file object. api_version: 2024-10 api_name: admin type: input_object api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/FileCreateInput md: >- https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/FileCreateInput.txt --- # File​Create​Input input\_object The input fields that are required to create a file object. ## Fields * alt [String](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/String) The alt text description of the file for screen readers and accessibility. * content​Type [File​Content​Type](https://shopify.dev/docs/api/admin-graphql/2024-10/enums/FileContentType) The file content type. If omitted, then Shopify will attempt to determine the content type during file processing. * duplicate​Resolution​Mode [File​Create​Input​Duplicate​Resolution​Mode](https://shopify.dev/docs/api/admin-graphql/2024-10/enums/FileCreateInputDuplicateResolutionMode) Default:APPEND\_UUID How to handle if filename is already in use. * filename [String](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/String) The name of the file. If provided, then the file is created with the specified filename. If not provided, then the filename from the `originalSource` is used. * original​Source [String!](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/String) non-null An external URL (for images only) or a [staged upload URL](https://shopify.dev/api/admin-graphql/latest/mutations/stageduploadscreate). *** ## Mutations using this input * [file​Create.​files](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/fileCreate#argument-files) MUTATION *** ## Map ### Mutations using this input * <\~>[file​Create.files](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/fileCreate#argument-files)