Using a non-finite verb form:
You can imagine that you are both beautiful and intelligent.
You can imagine yourself to be both beautiful and intelligent.
Using a non-finite verb form:
You can imagine that you are both beautiful and intelligent.
You can imagine yourself to be both beautiful and intelligent.