text: Title: Bash API description for Image component is wrong
  Body: ### Describe the bug
  
  The `Image` component creates a wrong description for the bash API documentation. Instead of using the `url` flag, it uses the `path` flag with an url.
  
  The provided gradio sketch produces the following example bash message:
  
  ```bash
  curl -X POST http://127.0.0.1:7860/gradio_api/call/predict -s -H "Content-Type: application/json" -d '{
    "data": [
  							{"path":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png"}
  ]}' \
    | awk -F'"' '{ print $4}'  \
    | read EVENT_ID; curl -N http://127.0.0.1:7860/gradio_api/call/predict/$EVENT_ID
  ```
  
  First of all, the url has to be in the `url` part. However, if we would do so, the url is not a base64 data-url and fails to be parsed with this (not correct) error message:
  
  ```
  Image path is None.
  ```
  
  Either we have a  better error message or we implement automatic image download (which would be possible using PIL). Is this not done due to security measures?
  
  ### Have you searched existing issues?  🔎
  
  - [x] I have searched and found no existing issues
  
  ### Reproduction
  
  ```python
  import numpy as np
  import gradio as gr
  
  
  def greet(image: np.ndarray):
      return f"Thanks for the image: {image.shape}"
  
  
  demo = gr.Interface(fn=greet, inputs=gr.Image(), outputs="text")
  demo.launch(share=False)
  ```
  
  
  ### Screenshot
  
  _No response_
  
  ### Logs
  
  ```shell
  
  ```
  
  ### System Info
  
  ```shell
  Gradio Environment Information:
  ------------------------------
  Operating System: Darwin
  gradio version: 5.22.0
  gradio_client version: 1.8.0
  
  ------------------------------------------------
  gradio dependencies in your environment:
  
  aiofiles: 23.2.1
  anyio: 3.7.1
  audioop-lts is not installed.
  fastapi: 0.115.11
  ffmpy: 0.3.1
  gradio-client==1.8.0 is not installed.
  groovy: 0.1.2
  httpx: 0.25.0
  huggingface-hub: 0.29.3
  jinja2: 3.1.2
  markupsafe: 2.1.3
  numpy: 1.26.0
  orjson: 3.9.7
  packaging: 23.1
  pandas: 2.1.1
  pillow: 10.0.1
  pydantic: 2.4.2
  pydub: 0.25.1
  python-multipart: 0.0.20
  pyyaml: 6.0.1
  ruff: 0.11.0
  safehttpx: 0.1.6
  semantic-version: 2.10.0
  starlette: 0.46.1
  tomlkit: 0.13.2
  typer: 0.15.2
  typing-extensions: 4.8.0
  urllib3: 2.0.5
  uvicorn: 0.23.2
  authlib; extra == 'oauth' is not installed.
  itsdangerous; extra == 'oauth' is not installed.
  
  
  gradio_client dependencies in your environment:
  
  fsspec: 2023.9.2
  httpx: 0.25.0
  huggingface-hub: 0.29.3
  packaging: 23.1
  typing-extensions: 4.8.0
  websockets: 11.0.3
  ```
  
  ### Severity
  
  I can work around it