# VideoCreateImport

Type: any & VideoUploadRequestCommon

Schema: [VideoCreateImport](https://sourcey-peertube.pages.dev/api-rest-reference/models/videocreateimport.md)

allOf:
  Type: any
  
  oneOf:
    Type: any
    
    - `targetUrl` (required)
      Type: targetUrl, url
      
      remote URL where to find the import's source video
      
      Example:
      
      ```json
      "https://framatube.org/videos/watch/9c9de5e8-0a1e-484a-b099-e80766180a6d"
      ```
  
    Type: any
    
    - `magnetUri` (required)
      Type: magnetUri, uri
      
      magnet URI allowing to resolve the import's source video
      
      pattern: "/magnet:\\?xt=urn:[a-z0-9]+:[a-z0-9]{32}/i"
  
    Type: any
    
    - `torrentfile` (required)
      Type: torrentfile, binary
      
      Torrent file containing only the video file
  
  Additional properties: false

  Reference: [VideoUploadRequestCommon](https://sourcey-peertube.pages.dev/api-rest-reference/models/videouploadrequestcommon.md); Type: VideoUploadRequestCommon